subSymm | R Documentation |
Helper to create models, which substitute in a symmetric matrix for a value.
subSymm(m, x, y, val)
m |
The symmetric matrix |
x |
Row position |
y |
Column position |
val |
Value to insert in the given position |
The symmetric matrix with the value inserted in the right positions
symm()
, correct()
, weight_design()
m <- matrix(0, ncol = 3, nrow = 3) subSymm(m, 1, 2, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.