Description Usage Arguments Value References See Also Examples

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

1 | ```
sphere_khat(latitudes, longitudes, dis)
``` |

`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). |

Khats Estimated values of K-function

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

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.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.