predict.kppm | R Documentation |
Given a fitted cluster point process model, these functions compute the fitted intensity.
## S3 method for class 'kppm'
fitted(object, ...)
## S3 method for class 'kppm'
predict(object, ...)
object |
Fitted cluster point process model.
An object of class |
... |
Arguments passed to |
These functions are methods for the generic functions
fitted
and predict
.
The argument object
should be a cluster point process model
(object of class "kppm"
) obtained using
the function kppm
.
The intensity of the fitted model
is computed, using fitted.ppm
or
predict.ppm
respectively.
The value of fitted.kppm
is a numeric vector
giving the fitted values at the quadrature points.
The value of predict.kppm
is usually a pixel image
(object of class "im"
), but see predict.ppm
for details.
and \rolf
kppm
,
plot.kppm
,
vcov.kppm
,
fitted.ppm
,
predict.ppm
fit <- kppm(redwood ~ x, "Thomas")
predict(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.