Learn R Programming

R0 (version 1.2-10)

plot.R0.S: Plot objects from sensitivity.analysis

Description

Plots objects from sensitivity.analysis

Usage

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

Value

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

$max.Rsquared

Best R0 measure for each time period, as measured by their Rsquared value.

Arguments

x

Result 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 of X days) when looking for highest Rsquared value.

...

Parameters passed to inner functions

Author

Pierre-Yves Boelle, Thomas Obadia

Details

For internal use. Called by plot.