par2Matrix {graphicalExtremes} | R Documentation |
Create Gamma or Theta from vector
Description
Convert parameter vector par
(upper triangular part of Gamma/Theta matrix)
to full Gamma/Theta, or vice versa.
Usage
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)
Arguments
par |
Numeric vector with |
allowMatrix |
If |
allowNull |
If |
zeroRowSums |
If |
M |
Matrix |
allowVector |
If |
Value
Numeric matrix d \times d
. Full Gamma/Theta matrix corresponding to par
.
Upper triangular part of M
(or M
itself/NULL if allowed)
See Also
Other parameter matrix transformations:
Gamma2Sigma()
,
Gamma2graph()
,
chi2Gamma()
[Package graphicalExtremes version 0.3.4 Index]