Kest.fft(X, sigma, r=NULL, breaks=NULL)
"ppp"
, or data
in any format acceptable to as.ppp()
.r
.
Not normally invoked by the user.
See Details."fv"
(see fv.object
).
Essentially a data frame containing columnsKest
for estimating the $K$ function. It may be useful for
very large patterns of points. Whereas Kest
computes the distance between
each pair of points analytically, this function discretises the
point pattern onto a rectangular pixel raster and applies
Fast Fourier Transform techniques to estimate $K(t)$.
The hard work is done by the function Kmeasure
.
The result is an approximation whose accuracy depends on the
resolution of the pixel raster. The resolution is controlled
by setting the parameter npixel
in
spatstat.options
.
Diggle, P.J. Statistical analysis of spatial point patterns. Academic Press, 1983.
Ohser, J. (1983) On estimators for the reduced second moment measure of point processes. Mathematische Operationsforschung und Statistik, series Statistics, 14, 63 -- 71. Ripley, B.D. Statistical inference for spatial processes. Cambridge University Press, 1988.
Stoyan, D, Kendall, W.S. and Mecke, J. (1995) Stochastic geometry and its applications. 2nd edition. Springer Verlag.
Stoyan, D. and Stoyan, H. (1994) Fractals, random shapes and point fields: methods of geometrical statistics. John Wiley and Sons.
Kest
,
Kmeasure
,
spatstat.options
pp <- runifpoint(10000)
spatstat.options(npixel=512)
<testonly>spatstat.options(npixel=256)</testonly>
Kpp <- Kest.fft(pp, 0.01)
plot(Kpp)
Run the code above in your browser using DataLab