LTmat | R Documentation |
Construct a symmetric matrix from its lower triangle.
LTmat(LT, .names = attr(LT, ".names"), .colnames = .names, .rownames = .names)
LT |
A numeric vector giving the elements of the lower triangle of the matrix by row (see examples). |
.names, .colnames, .rownames |
Optionally, specify row and column names of the resulting matrix. |
A symmetric matrix.
LTmat(1:6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.