surveillance (version 1.12.1)

twinstim_plot: Plot methods for fitted twinstim's

Description

The fitted conditional intensity function from twinstim may be visualized in at least two ways: iafplot plots the fitted interaction functions (as a function of the distance from the host), and intensityplot.twinstim plots the fitted intensity either aggregated over space (evolution over time) or aggregated over time (spatial surface of the cumulated intensity). The plot method for class "twinstim" is just a wrapper for these two functions.

Usage

## S3 method for class 'twinstim':
plot(x, which, ...)

Arguments

x
an object of class "twinstim".
which
character. Which characteristic of the conditional intensity should be plotted? Possible values are the ones allowed in the functions iafplot and
...
further arguments passed to iafplot or intensityplot.twinstim.

Value

Examples

Run this code
# see the examples for iafplot() and intensityplot.twinstim()

Run the code above in your browser using DataLab