residuals.dppm | R Documentation |
Given a determinantal point process model fitted to a point pattern, compute residuals.
## S3 method for class 'dppm'
residuals(object, ...)
object |
The fitted determinatal point process model (an object of class |
... |
Arguments passed to |
This function extracts the intensity component of the model using
as.ppm
and then applies residuals.ppm
to compute the residuals.
Use plot.msr
to plot the residuals directly.
An object of class "msr"
representing a signed measure or vector-valued measure
(see msr
). This object can be plotted.
.
msr
,
dppm
fit <- dppm(swedishpines ~ x, dppGauss, method="c")
rr <- residuals(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.