logLik.ppm {spatstat} | R Documentation |
Extracts the log likelihood of a fitted Poisson point process model.
## S3 method for class 'ppm': logLik(object, ...)
object |
Fitted point process model.
An object of class "ppm" .
|
... |
Ignored. |
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.
A numerical value.
Adrian Baddeley adrian@maths.uwa.edu.au http://www.maths.uwa.edu.au/~adrian/ and Rolf Turner r.turner@auckland.ac.nz
data(cells) fit <- ppm(cells, ~x) logLik(fit) AIC(fit)