plot.R0.S: Plot of sensitivity analyses.

View source: R/plot.R0.S.R

plot.R0.SR Documentation

Plot of sensitivity analyses.

Description

Generates the graphical output for an object generated through sensitivity.analysis().

Usage

## S3 method for class 'R0.S'
plot(x, what = "heatmap", time.step = 1, skip = 5, ...)

Arguments

x

Output of sensitivity.analysis() (class R0.S)

what

Specify the desired output. Can be "heatmap" (default), "criterion" or both.

time.step

Optional. If date of first observation is specified, number of day between each incidence observation.

skip

Number of results to ignore (time period in days) when looking for highest Rsquared value.

...

Parameters passed to inner functions.

Details

For internal use. Called by base::plot() when applied to R0.S objects. A plot will be shown and the best model fit will be returned.

Value

A list with best R0 measure for each possible time period, along with corresponding begin/end dates.

max.Rsquared

The highest R-squared values.

best.R0.values

The corresponding R_{0} values.

best.fit

The best model fit as defined by the highest R-squared values among all returned.

Author(s)

Pierre-Yves Boelle, Thomas Obadia


R0 documentation built on Sept. 26, 2023, 5:10 p.m.

Related to plot.R0.S in R0...