vec2matrix:
Vector to Matrix Conversion
Description
This function converts a vector into a row matrix.
Usage
vec2matrix(object = NULL)
Arguments
object
A vector or a matrix.
Value
Return a row matrix.
Details
If object
is already a matrix, object
is not modified. If
object
is not a matrix or a vector, the algorithm is stopped.