Kmodel(model, ...) pcfmodel(model, ...)
function in the Rlanguage,
which takes one argument r.Kmodel and pcfmodel give the
theoretical $K$-function and the theoretical pair correlation
function for a point process model that has been fitted to data.
The functions Kmodel and pcfmodel are generic,
with methods for the classes "kppm" (cluster processes
and Cox processes) and "ppm" (Gibbs processes).
The return value is a function in the Rlanguage,
which takes one argument r.
Evaluation of this function, on a numeric vector r,
yields values of the desired $K$ function or pair correlation
function at these distance values.Kest or pcf
to estimate the $K$ function or pair correlation function
nonparametrically from data. Kmodel.kppm for the method for cluster processes
and Cox processes.
Kmodel.ppm for the method for Gibbs processes.