The function model.frame
is generic.
These functions are method for model.frame
for fitted point process models (objects of class "ppm"
or "kppm"
or "dppm"
or "lppm"
).
The first argument should be a fitted point process model;
it has to be named formula
for consistency with the generic
function.
The result is a data frame containing all the variables used in
fitting the model. The data frame has one row for each quadrature point
used in fitting the model. The quadrature scheme can be extracted using
quad.ppm
.