Hest(X, ...)"ppp", "psp" or "owin".as.mask
to control the discretisation."fv", see fv.object,
which can be plotted directly using plot.fv.Essentially a data frame containing five columns:
XX lies closer than $r$ units away
from the fixed point $x$, given that X does not cover $x$. For a point process, the spherical contact distribution function
is the same as the empty space function $F$ discussed
in Fest.
For Hest, the argument X may be a point pattern
(object of class "ppp"), a line segment pattern
(object of class "psp") or a window (object of class
"owin"). It is assumed to be a realisation of a stationary
random set.
The algorithm first calls distmap to compute the
distance transform of X, then computes the Kaplan-Meier
and reduced-sample estimates of the cumulative distribution
following Hansen et al (1999).
Hansen, M.B., Baddeley, A.J. and Gill, R.D. First contact distributions for spatial patterns: regularity and estimation. Advances in Applied Probability 31 (1999) 15-33.
Ripley, B.D. Statistical inference for spatial processes. Cambridge University Press, 1988.
Stoyan, D, Kendall, W.S. and Mecke, J. Stochastic geometry and its applications. 2nd edition. Springer Verlag, 1995.
FestX <- runifpoint(42)
H <- Hest(X)
Y <- rpoisline(10)
H <- Hest(Y)
data(heather)
H <- Hest(heather$coarse)Run the code above in your browser using DataLab