symm | R Documentation |
Create symmetric matrix
symm(m, data)
m |
Square numeric matrix. |
data |
Numeric values of the upper triangular side of the matrix |
A square symmetric matrix.
After the upper case there can be other values that are assumed to be in the diagonal.
subSymm()
, correct()
m <- matrix(0, ncol = 5, nrow = 5) symm(m, c(0, 1, 1, 1, 0, 0.5, 0.2, 0.3, 0.7, 0.1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.