unvech | R Documentation |
vech
unvech
creates a symmetric matrix from the given vector by
copying the lower triangular part to be the upper triangular part as well.
unvech(d, a)
d |
number of rows the square matrix to be formed. |
a |
a size |
a symmetric matrix of size (dxd)
.
No argument checks!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.