R: Vectorize By Row

rvectorize {OpenMx} | R Documentation

## 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

    rvectorize(matrix(1:9, 3, 3))
    rvectorize(matrix(1:12, 3, 4))

[Package OpenMx version 2.9.6 Index]