View source: R/matrix_transformations.R
par2Matrix | R Documentation |
Convert parameter vector par
(upper triangular part of Gamma/Theta matrix)
to full Gamma/Theta, or vice versa.
par2Matrix(par, allowMatrix = FALSE, allowNull = FALSE, zeroRowSums = FALSE)
par2Gamma(par, allowMatrix = FALSE, allowNull = FALSE)
par2Theta(par, allowMatrix = FALSE, allowNull = FALSE)
matrix2par(M, allowVector = FALSE, allowNull = FALSE)
par |
Numeric vector with |
allowMatrix |
If |
allowNull |
If |
zeroRowSums |
If |
M |
Matrix |
allowVector |
If |
Numeric matrix \dxd. Full Gamma/Theta matrix corresponding to par
.
Upper triangular part of M
(or M
itself/NULL if allowed)
Other parameter matrix transformations:
Gamma2Sigma()
,
Gamma2graph()
,
chi2Gamma()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.