Ghat(object, dist.ghat=all.dists, plot.it=T)
"spp"
representing a spatial point pattern,
or a data frame or matrix with first two columns containing locations
of a point pattern.
Ghat
at every neighbor distance.
See DETAILS for definition of
Ghat
.
TRUE
.
plot.it=TRUE
, a plot of
Ghat
versus distance of will be produced.
Ghat
provides an estimate of
G(y)
, the proportion of points in a spatial
point pattern within a distance
y
of their nearest neighbor.
For a completely spatially random process without edge effects the theoretical distribution of
G(y)
is:
G(y) = 1 - exp(-pi * intensity * y^2)
where the intensity is the number of points per unit area.
Diggle, Peter J. (1983). Statistical Analysis of Spatial Point Patterns. Academic Press, London.
lans.ghat <- Ghat(lansing)