OpenMx (version 2.17.3)

rvectorize: Vectorize By Row

Description

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

Usage

rvectorize(x)

Arguments

x

an input matrix.

See Also

cvectorize, vech, vechs

Examples

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


# }

Run the code above in your browser using DataLab