powered by
Given a determinantal point process model fitted to a point pattern, compute residuals.
# S3 method for dppm residuals(object, …)
The fitted determinatal point process model (an object of class "dppm") for which residuals should be calculated.
"dppm"
Arguments passed to residuals.ppm.
residuals.ppm
An object of class "msr" representing a signed measure or vector-valued measure (see msr). This object can be plotted.
"msr"
msr
This function extracts the intensity component of the model using as.ppm and then applies residuals.ppm to compute the residuals.
as.ppm
Use plot.msr to plot the residuals directly.
plot.msr
msr, dppm
dppm
# NOT RUN { fit <- dppm(swedishpines ~ x, dppGauss()) rr <- residuals(fit) # }
Run the code above in your browser using DataLab