Description Usage Arguments Details Value Author(s) See Also Examples
Calculate a number of diagonal elements of a symmetric matrix when a number elements in a lower/upper triangle is given.
1 | nTri2nDiag(nTri)
|
nTri |
A number of elements in a lower/upper triangle of a matrix (excluding the diagonal). |
Dedived from equation nCoeff = (n^2-n)/2
A number of rows/columns in a symmetric matrix. May be a fractional number.
Vilmantas Gegzna
Other matrix operations in spMisc:
corr_vec2mat()
,
indMatrix()
,
revalueMatrix()
,
sort_matrix_elements
,
which.in()
,
which.max.all()
,
which.max.perRow()
1 2 | nTri2nDiag(10)
nTri2nDiag(6)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.