Description Usage Arguments Details Value Examples
Convert Half-vectorization to symmetric matrix
1 |
v |
A numeric vector with n * (n + 1) / 2 elements. |
dim |
An integer indicating the dimension of the resulting square, symmetric matrix. |
Throws an error if dim does not correspond to the length of v.
The n by n symmetric matrix whose half-vectorization is v.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.