logLik.ppm
From spatstat v1.16-2
by Adrian Baddeley
Log Likelihood for Poisson Point Process Model
Extracts the log likelihood of a fitted Poisson point process model.
Usage
## S3 method for class 'ppm':
logLik(object, ...)
Arguments
- object
- Fitted point process model.
An object of class
"ppm"
. - ...
- Ignored.
Details
The maximised value of the log likelihood for the fitted model (as approximated by quadrature using the Berman-Turner approximation) is extracted.
If object
is not a Poisson process, the maximised log
pseudolikelihood is returned, with a warning.
Value
- A numerical value.
See Also
Examples
data(cells)
fit <- ppm(cells, ~x)
logLik(fit)
AIC(fit)
Community examples
Looks like there are no examples yet.