Generate a matrix or vector of zeros like an existing matrix or vector
stm_zeros_like.Rd
stm_zeros_like()
generates a matrix or vector of zeros that matches
the dimensions of the provided input matrix or vector.
Details
The function checks the validity of the input vmat
, converting it
to a matrix if it is a vector. It then generates a matrix of zeros of the
same size as vmat
.