Description Usage Arguments Value Examples
Reflect a matrix on its leading diagonal (useful if distance matrix has entries in upper half only)
1 |
matrix |
square matrix |
square matrix of same dimensions as input
1 | reflect_on_diagonal(matrix(1:9, ncol = 3))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.