vec_lowertri_to_mat | R Documentation |
Create a matrix from a vector
vec_lowertri_to_mat(vec, col, diag)
vec |
a numeric vector |
col |
number of columns of the matrix to create |
diag |
doe diagonal is included |
A vector
Argument vec must be of the exact same length of the number of cells present in the lower triangle of the amtrix to create.
Sebastian Sosa.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.