powered by
Returns a 1-column matrix, stacking the columns of x, a matrix or vector
x
vec(x)
A matrix or vector
A one-column matrix containing the elements of x in column order
# NOT RUN { vec(1:3) vec(matrix(1:6, 2, 3)) vec(c("hello", "world")) # }
Run the code above in your browser using DataLab