View source: R/matrix_transformations.R
chi2Gamma | R Documentation |
Transforms between the extremal correlation \eChi and the variogram \eGamma. Only valid for Huesler-Reiss distributions. Done element-wise, no checks of the entire matrix structure are performed.
chi2Gamma(chi)
Gamma2chi(Gamma)
chi |
Numeric vector or matrix with entries between 0 and 1. |
Gamma |
Numeric vector or matrix with non-negative entries. |
The formula for transformation from \eChi to \eGamma is element-wise
\Gamma = (2 \Phi^{-1}(1 - 0.5 \chi))^2,
where \Phi^{-1}
is the inverse of the standard normal distribution function.
The formula for transformation from \eGamma to \eChi is element-wise
\chi = 2 - 2 \Phi(\sqrt{\Gamma} / 2),
where \Phi
is the standard normal distribution function.
Numeric vector or matrix containing the implied \eGamma.
Numeric vector or matrix containing the implied \eChi.
Other parameter matrix transformations:
Gamma2Sigma()
,
Gamma2graph()
,
par2Matrix()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.