The function as.ppm extracts
the fitted point process model (of class "ppm")
from a suitable object.
The function as.ppm is generic, with methods for the classes
"ppm", "profilepl", "kppm", "dppm"
and "rppm", and possibly for other classes.
For the class "profilepl" of models fitted by maximum profile
pseudolikelihood, the method as.ppm.profilepl extracts the
fitted point process model (with the optimal values of the
irregular parameters).
For the class "kppm" of models fitted by minimum contrast (or Palm or composite likelihood)
using Waagepetersen's two-step estimation procedure
(see kppm), the method as.ppm.kppm
extracts the Poisson point process model that is fitted in the
first stage of the procedure.
The behaviour for the class "dppm" is analogous to the
"kppm" case above.
For the class "rppm" of models fitted by recursive partitioning
(regression trees), the method as.ppm.rppm extracts the
corresponding loglinear model that is fitted in the first stage of the
procedure (whose purpose is merely to identify and evaluate the
explanatory variables).