Learn R Programming

spatstat (version 1.48-0)

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

"plot"(x, ..., what=c("intensity", "statistic", "cluster"), pause=interactive(), xname)

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.
pause
Logical value specifying whether to pause between plots.
xname
Optional. Character string. The name of the object x for use in the title of the plot.

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.

The choice of plots (and the order in which they are displayed) is controlled by the argument what. The options (partially matched) are "intensity", "statistic" and "cluster".

This command is capable of producing three different plots:

Alternatively what="all" selects all available options.

See Also

kppm, plot.ppm,

Examples

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

Run the code above in your browser using DataLab