This function gets the values below or above the diagonal of a square matrix and transposes them.
1 | mirror.tri(mat, upper.on.lower = FALSE)
|
mat |
A square matrix. |
upper.on.lower |
Should the upper values be transposed to the triangle below the diagonal? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.