Converts a vector into a symmetric matrix that the original vector contains the linear independent values of the returned symmetric matrix.

vecli2m( v )

Arguments

v

a vector.

See also

Author

Arne Henningsen

Examples

   v <- c( 11, 12, 13, 22, 23, 33 )
   vecli2m( v )
#>      [,1] [,2] [,3]
#> [1,]   11   12   13
#> [2,]   12   22   23
#> [3,]   13   23   33