| logLik.mppm {spatstat} | R Documentation |
Extracts the log likelihood of a Poisson point process model that has been fitted to multiple point patterns
## S3 method for class 'mppm' logLik(object, ...)
object |
Fitted point process model (fitted to multiple point
patterns). An object of class |
... |
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.baddeley@uwa.edu.au http://www.maths.uwa.edu.au/~adrian/ and Rolf Turner rolf@math.unb.ca http://www.math.unb.ca/~rolf
data(waterstriders) fit <- mppm(Bugs ~ x, hyperframe(Bugs=waterstriders)) logLik(fit) AIC(fit)