Vech: Half-Stacking Vector of a Symmetrix Matrix

Description Usage Arguments Details Value Author(s) Examples

Description

Obtain the half-stacking vector of a symmetric matrix

Usage

1
Vech(mtx)

Arguments

mtx

A symmetric matrix

Details

Stacking a matrix into a vector using data on and below the diagonal.

Value

a vector consisting of stacked elements of a symmetric matrix

Author(s)

Ruey S. Tsay

Examples

1
2
3
m1=matrix(c(1:9),3,3)
m2=(m1+t(m1))/2
v1=Vech(m2)


Search within the MTS 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.