mat2UT | R Documentation |
Returns the vectorized upper triangle of a square matrix
mat2UT(x, diag = FALSE)
x |
A square matrix |
diag |
Get the diagonal values too? Default: |
The vectorized upper triangle of x.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.