sym2vec {parcor} | R Documentation |
This function transforms the upper triangle (without diagonal) of a matrix A into a vector.
sym2vec(A)
A |
quadratic matrix of size p x p |
The entries of the matrix A
are stacked line-by-line.
vector of length p(p-1)/2
This is an internal function.
Nicole Kraemer
p<-7 A<-matrix(rnorm(p*p),ncol=p) v<-sym2vec(A)