triu_to_full | R Documentation |
Expands upper triangular to full matrix.
triu_to_full(upper_tri, n)
upper_tri |
A matrix representing the uppertriangular part of the matrix, stacked in column-major order |
n |
The number of rows (columns) in the full square matrix. |
A matrix that is the scaled expansion of the upper triangular matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.