\HeaderA{mat.or.vec}{Create a Matrix or a Vector}{mat.or.vec}
\keyword{array}{mat.or.vec}
\begin{Description}\relax
\code{mat.or.vec} creates an \code{nr} by \code{nc} zero matrix if
\code{nc} is greater than 1, and a zero vector of length \code{nr} if
\code{nc} equals 1.
\end{Description}
\begin{Usage}
\begin{verbatim}
mat.or.vec(nr, nc)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{nr, nc}] numbers of rows and columns.
\end{ldescription}
\end{Arguments}
\begin{Examples}
\begin{ExampleCode}
mat.or.vec(3, 1)
mat.or.vec(3, 2)
\end{ExampleCode}
\end{Examples}

