Log Likelihood for Poisson Point Process Model
Extracts the log likelihood of a fitted Poisson point process model.
## S3 method for class 'ppm': logLik(object, ..., warn=TRUE)
- Fitted point process model.
An object of class
TRUE, a warning is given when the pseudolikelihood is returned instead of the likelihood.
The maximised value of the log likelihood for the fitted model (as approximated by quadrature using the Berman-Turner approximation) is extracted.
object is not a Poisson process, the maximised log
pseudolikelihood is returned, with a warning (if
- A numerical value.
data(cells) fit <- ppm(cells, ~x) logLik(fit) AIC(fit)