vechs: Strict Half-vectorization

Description Usage Arguments Details See Also Examples

Description

This function returns the strict half-vectorization of an input matrix as a column vector.

Usage

1
vechs(x)

Arguments

x

an input matrix.

Details

The half-vectorization of an input matrix consists of the elements in the lower triangle of the matrix, excluding the elements along the diagonal of the matrix, as a column vector. The column vector is created by traversing the matrix in column-major order.

See Also

vech, rvectorize, cvectorize

Examples

1
2
vechs(matrix(1:9, 3, 3))
vechs(matrix(1:12, 3, 4))


Search within the OpenMx package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.