sphere_khat: Calculate Spherical K-Function

Description Usage Arguments Value References See Also Examples

View source: R/SphericalK.R

Description

Main function to obtain spherical K-function for point-pattern analysis on the sphere.

Usage

1
sphere_khat(latitudes, longitudes, dis)

Arguments

latitudes

Latitudes of observed points on the sphere in degrees

longitudes

Longitudes of observed points on the sphere in degrees

dis

Vector of values for the argument r (from 0 to pi), at which K(r) is evaluated. By default, dis = seq(from=0,to=pi,by=0.1).

Value

Khats Estimated values of K-function

References

Robeson, S.M., Li, A., Huang, C., 2014. Point-pattern analysis on the sphere. Spatial Statistics. 10, 76-86.

See Also

sphere_montekhat

Examples

1
2
3
lat<-sphere_random(100)$latitudes; lon<-sphere_random(100)$longitudes
d<-seq(from=0,to=pi,by=0.1)
sphere_khat(lat,lon,d)

SphericalK documentation built on May 30, 2017, 4:38 a.m.