Learn R Programming

spatstat (version 1.31-3)

plot.kppm: Plot a fitted cluster point process

Description

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", "statistic"))

Arguments

x
Fitted cluster point process model. An object of class "kppm".
...
Arguments passed to plot.ppm and plot.fv to control the plot.
what
Character vector determining what will be plotted.

Value

  • Null.

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 summary statistics, 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 "statistic".

The option what="intensity" will be ignored if the model is stationary.

See Also

kppm, plot.ppm, plot.minconfit

Examples

Run this code
data(redwood)
  fit <- kppm(redwood, ~1, "Thomas")
  plot(fit)

Run the code above in your browser using DataLab