vec2matrix {optimbase} | R Documentation |
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. |
Details
If object
is already a matrix, object
is not modified. If
object
is not a matrix or a vector, the algorithm is stopped.
Value
Return a row matrix.
Author(s)
Sebastien Bihorel (sb.pmlab@gmail.com)
[Package optimbase version 1.0-10 Index]