OpenMx (version 2.17.3)

cvectorize: Vectorize By Column

Description

This function returns the vectorization of an input matrix in a column by column traversal of the matrix. The output is returned as a column vector.

Usage

cvectorize(x)

Arguments

x

an input matrix.

See Also

rvectorize, vech, vechs

Examples

Run this code
# NOT RUN {
cvectorize(matrix(1:9, 3, 3))
cvectorize(matrix(1:12, 3, 4))


# }

Run the code above in your browser using DataCamp Workspace