logLik.ppm {spatstat}R Documentation

Log Likelihood for Poisson Point Process Model

Description

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.

Author(s)

Adrian Baddeley adrian@maths.uwa.edu.au http://www.maths.uwa.edu.au/~adrian/ and Rolf Turner r.turner@auckland.ac.nz

See Also

ppm

Examples

  data(cells)
  fit <- ppm(cells, ~x)
  logLik(fit)
  AIC(fit)

[Package spatstat version 1.16-0 Index]