# plot.kppm

##### Plot a fitted cluster point process

Plots a fitted cluster point process model, displaying the fitted intensity and the fitted $K$-function.

##### Usage

```
## S3 method for class 'kppm':
plot(x, ..., what=c("intensity", "K"))
```

##### Arguments

##### Details

This is a method for the generic function
`plot`

for the class `"kppm"`

of fitted
cluster point process models.
The argument `x`

should be a cluster point process model
(object of class `"kppm"`

) obtained using
the function `kppm`

.

By default, this command will first plot the fitted intensity of the model,
using `plot.ppm`

, and then plot the empirical and fitted
inhomogeneous $K$-functions, using `plot.fv`

.

The choice of plots (and the order in which they are
displayed) is controlled by the argument `what`

.
The options (partially matched) are `"intensity"`

and `"K"`

.

The option `what="intensity"`

will be ignored if the
model is stationary.

##### Value

- Null.

##### See Also

##### Examples

```
data(redwood)
fit <- kppm(redwood, ~1, "Thomas")
plot(fit)
```

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