Learn R Programming

geoCount (version 1.150120)

rhoSph: Spherical Correlation Function

Description

This function calculates the spherical correlation.

Usage

rhoSph(u, a, k=NULL)

Arguments

u
a value which indicates the distance
a
a value which indicates the scale parameter, $\phi$
k
useless (it is kept here only in the purpose of maintaining consistent argument format to other corrlelation functions)

Value

A value of the correlation.

Details

The function is $\; \;\rho (u)= 1 - 1.5*(u/\phi) + 0.5*(-u/\phi)^3 \; \;$.

See Also

rhoPowerExp, rhoMatern, U2Z, loc2U.

Examples

Run this code
## Not run: 
#   rhoSph(0.1, a=0.2)                  
# ## End(Not run)

Run the code above in your browser using DataLab