Gamma2Sigma | R Documentation |
Converts between different matrices that parametrize the same Huesler-Reiss distribution: \eGamma, \eSigma, \eTheta, \eSigmaK, \eThetaK. The \d1xd1 matrices \eSigmaK and \eThetaK can also be given/returned as \dxd matrices with the kth row and column filled with zeros.
Gamma2Sigma(Gamma, k = NULL, full = FALSE, check = TRUE)
Gamma2Theta(Gamma, k = NULL, full = FALSE, check = TRUE)
Sigma2Gamma(Sigma, k = NULL, full = FALSE, check = TRUE)
Theta2Gamma(Theta, k = NULL, full = FALSE, check = TRUE)
Sigma2Theta(
Sigma,
k1 = NULL,
k2 = NULL,
full1 = FALSE,
full2 = FALSE,
check = TRUE
)
Theta2Sigma(
Theta,
k1 = NULL,
k2 = NULL,
full1 = FALSE,
full2 = FALSE,
check = TRUE
)
Theta2Theta(
Theta,
k1 = NULL,
k2 = NULL,
full1 = FALSE,
full2 = FALSE,
check = TRUE
)
Sigma2Sigma(
Sigma,
k1 = NULL,
k2 = NULL,
full1 = FALSE,
full2 = FALSE,
check = TRUE
)
Gamma2Gamma(Gamma, check = TRUE)
matrix2matrix(
M,
name1 = c("Gamma", "Sigma", "Theta")[1],
name2 = c("Gamma", "Sigma", "Theta")[1],
k1 = NULL,
k2 = NULL,
full1 = FALSE,
full2 = FALSE,
check = TRUE
)
Gamma |
Numeric \dxd variogram matrix. |
k |
|
full |
Logical. If |
check |
Whether to check the inputs and call |
Sigma |
Numeric \dxd or \d1xd1 covariance matrix. |
Theta |
Numeric \dxd or \d1xd1 precision matrix. |
k1 |
|
k2 |
|
full1 |
Logical. If |
full2 |
Logical. If |
M |
Numeric matrix, \eGamma, \eSigma, or \eTheta. |
name1 |
Name of the input representation. |
name2 |
Name of the output representation. |
If k
, k1
, or k2
is NULL
, the corresponding full*
argument is ignored.
Gamma2Gamma
only checks and returns the input.
matrix2matrix
is a wrapper function that calls the corresponding
conversion function implied by name1
, name2
.
The desired parameter matrix corresponding to the specified inputs.
Other parameter matrix transformations:
Gamma2graph()
,
chi2Gamma()
,
par2Matrix()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.