These functions coerce an object to a 2-dimensional array
in the shape of a
row or column vector, i.e. an array with dimensions c(1,d)
or c(d,1)
respectively, where d=length(x)
.
as.mRowVector(x, USE.NAMES = TRUE)
as.mColVector(x, USE.NAMES = TRUE)
An object that can be passed to array()
.
If TRUE
and x
has only one non-singular dimension, its names are preserved.
A row or column vector with the data from x
.