Description Usage Arguments Value
The input vector is assumed to be the lower.tri of a symmetric matrix. This function recreates the original matrix from the vector.
1 | vector_to_matrix(x, diag_val = 0)
|
x |
the vector containing lower.tri entries of a symmetric matrix. |
diag_val |
value to put along the diagonal. |
A symmetric matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.