Learn R Programming

miscTools (version 0.6-28)

vecli2m: Convert vector of linear independent values into a Matrix

Description

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

Usage

vecli2m( v )

Arguments

v

a vector.

Author

Arne Henningsen

See Also

vecli, veclipos.

Examples

Run this code
   v <- c( 11, 12, 13, 22, 23, 33 )
   vecli2m( v )

Run the code above in your browser using DataLab