Skip to contents

Returns a vector containing the linear independent elements of a symmetric matrix (of full rank).

Usage

vecli( m )

Arguments

m

symmetric matrix

See also

Author

Arne Henningsen

Examples

   # a symmetric n x n matrix
   m <- cbind(c(11,12,13),c(12,22,23),c(13,23,33))
   vecli(m)  # returns: 11 12 13 22 23 33
#> [1] 11 12 13 22 23 33