Learn R Programming

geoCount (version 1.150120)

rhoMatern: Matern Correlation Function

Description

This function calculates the Matern correlation.

Usage

rhoMatern(u, a, k)

Arguments

u
a value which indicates the distance
a
a value which indicates the scale parameter, $\phi$
k
a value which indicates the shape parameter, $\kappa$

Value

A value of the correlation.

Details

The function is $\; \;\rho (u)= [2^{\kappa-1}\tau(\kappa)]^{-1} (-u/\phi)^\kappa K_\kappa(-u/\phi) \; \;$ where $K_\kappa(\cdot)$ denotes a modified Bessel function of order $\kappa$.

See Also

rhoPowerExp, rhoSph, U2Z, loc2U.

Examples

Run this code
## Not run: 
#   rhoMatern(0.3, a=0.1, k=1)                  
# ## End(Not run)

Run the code above in your browser using DataLab