Extract Original Data from a Fitted Point Process Model
Given a fitted point process model, this function extracts the original point pattern dataset to which the model was fitted.
- fitted point process model (an object of class
An object of class
"ppm" represents a point process model
that has been fitted to data. It is typically produced by
the maximum pseudolikelihood fitting algorithm
The object contains complete information about the original data
point pattern to which the model was fitted.
This function extracts the original data pattern.
ppm.object for a list of all operations that can be
performed on objects of class
- A point pattern (object of class
require(spatstat) data(cells) fit <- mpl(cells, ~1, Strauss(r=0.1), rbord=0.1) X <- data.ppm(fit) # 'X' is identical to 'cells'