s2Kest: K-function for spherical point pattern

Description Usage Arguments Value

View source: R/s2Kest.R

Description

K-function for spherical point pattern

Usage

1
s2Kest(X, ..., r = NULL, rmax = NULL, breaks = NULL, correction = NULL)

Arguments

X

Spherical point pattern of class s2pp

...

Ignored.

r

Optional. Vector of values for the argument r at which K(r) should be evaluated. Users are advised not to specify this argument; there is a sensible default. If necessary, specify rmax.

rmax

Optional. Maximum desired value of the argument r.

breaks

This argument is for internal use only.

correction

Optional. A character vector containing any selection of the options "none" and "border" (and possibly others in the future).

Value

An object of class "fv", see fv.object, which can be plotted directly using plot.fv.

Essentially a data frame containing columns

r

the vector of values of the argument r at which the function K has been estimated

theo

the theoretical value K(r) = 2 * pi * (1 - cos(r)) for a stationary Poisson process (where r is in radians)

together with columns named "none", and/or "border", according to the selected edge corrections. These columns contain estimates of the function K(r) obtained by the edge corrections named.


spatstat/spatstat.sphere documentation built on July 5, 2017, 11:47 p.m.