Gspp: G-function for spherical point pattern

Description Usage Arguments Value Examples

Description

G-function for spherical point pattern

Usage

1
2
Gspp(X, r = NULL, rmax = NULL, breaks = NULL, correction = NULL,
  lambda = NULL, unnormalized = FALSE, angular_arg = FALSE)

Arguments

X

Object of class "spp".

r

Optional. Vector of values for the argument r at which G(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).

lambda

Intensity (usually not supplied). Estimated from data by default.

unnormalized

Logical. Only for internal use at the moment.

angular_arg

Logical. Interpret r values as angles (possibly in degrees rather than radians depending on coordinate type of X).

...

Ignored.

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 G has been estimated

theo

the theoretical value G(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 G(r) obtained by the edge corrections named.

Examples

1
2
X <- runifspp(100)
G <- Gspp(X)

rubak/spatstatsphere documentation built on May 28, 2019, 9:56 a.m.