# intensity

##### Intensity of a Dataset or a Model

Generic function for computing the intensity of a spatial dataset or spatial point process model.

##### Usage

`intensity(X, ...)`

##### Arguments

- X
- A spatial dataset or a spatial point process model.
- ...
- Further arguments depending on the class of
`X`

.

##### Details

This is a generic function for computing the intensity of a spatial dataset
or spatial point process model. There are methods for point patterns
(objects of class `"ppp"`

) and fitted point process models
(objects of class `"ppm"`

).
The empirical intensity of a dataset is the average density
(the average amount of `intensity.ppp`

.

The theoretical intensity of a stochastic model is the expected density
(expected amount of `intensity.ppm`

.

##### Value

- Usually a numeric value or vector.

##### See Also

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