predict.dppm | R Documentation |
Given a fitted determinantal point process model, these functions compute the fitted intensity.
## S3 method for class 'dppm'
fitted(object, ...)
## S3 method for class 'dppm'
predict(object, ...)
object |
Fitted determinantal 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 determinantal point process model
(object of class "dppm"
) obtained using
the function dppm
.
The intensity of the fitted model
is computed, using fitted.ppm
or
predict.ppm
respectively.
The value of fitted.dppm
is a numeric vector
giving the fitted values at the quadrature points.
The value of predict.dppm
is usually a pixel image
(object of class "im"
), but see predict.ppm
for details.
.
dppm
,
plot.dppm
,
fitted.ppm
,
predict.ppm
if(interactive()) {
fit <- dppm(swedishpines ~ x + y, dppGauss())
} else {
fit <- dppm(redwood ~ x, dppGauss())
}
predict(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.