Description Usage Arguments Details Value Author(s) See Also Examples
make vector positions from (non-symmetric) array index respecting dim and fixdiag
1 | symmIndex2vectorIndex(x, dim, fixdiag = NULL)
|
x |
a matrix[,1:2] with matrix subscripts |
dim |
the dimensions of the symmetric matrix |
fixdiag |
NULL assumes free diagonal, any value assumes fixed diagonal |
With fixdiag = NULL
a vector of indices in 1:prod(dim(x))
Jens Oehlschl<c3><a4>gel
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.