predict.loccit | R Documentation |
Computes the fitted intensity of a locally-fitted Cox process or cluster process model.
## S3 method for class 'loccit'
predict(object, ...)
## S3 method for class 'loccit'
fitted(object, ..., new.coef=NULL)
object |
Locally fitted point process model (object of class |
... |
Arguments passed to |
new.coef |
New values for the fitted coefficients. A matrix in which each row gives the fitted coefficients at one of the quadrature points of the model. |
The fitted intensity is computed.
An object of class "ssf"
as described in ssf
.
.
loccit
, predict.locppm
.
X <- redwood[owin(c(0,1), c(-1,-1/2))]
fit <- loccit(X, ~1, "Thomas", nd=5, control=list(maxit=20))
lam <- predict(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.