U2Z {geoCount} | R Documentation |
This function converts the distance matrix to correlation matrix.
U2Z(U, cov.par, rho.family = "rhoPowerExp")
U |
a n \times n matrix which indicates the distance between locations |
cov.par |
a vector of length 3 that indicates the value of (σ,φ,κ) |
rho.family |
take the value of |
When using the powered exponential correlation function, note that 0<κ<=2.
A n \times n matrix with the element e_{ij} indicating the correlation between variables on the ith and jth locations.
Liang Jing ljing918@gmail.com
loc2U
,
rhoPowerExp
,
rhoMatern
.
## Not run: loc <- locGrid(1, 2, 10, 5) U <- loc2U(loc) Z <- U2Z(U, cov.par=c(0.5, 0.1, 1)) ## End(Not run)