# logLik.ppm

From spatstat v1.19-1
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, ..., warn=TRUE)
```

##### Arguments

- object
- Fitted point process model.
An object of class
`"ppm"`

. - ...
- Ignored.
- warn
- If
`TRUE`

, a warning is given when the pseudolikelihood is returned instead of the likelihood.

##### 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 (if `warn=TRUE`

).

##### Value

- A numerical value.

##### See Also

##### Examples

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

*Documentation reproduced from package spatstat, version 1.19-1, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.