Learn R Programming

R0 (version 1.2-10)

plot.R0.sR: Plot the R0/Rt value along with confidence interval of all requested models to epidemic data

Description

Plot the R0/Rt value along with confidence interval of all requested models to epidemic data

Usage

# S3 method for R0.sR
plot(x, xscale = "w", 
    TD.split = FALSE, 
    ...)

Value

Called for its side effect : Draws all R0 or R(t) values from requested estimation methods.

Arguments

x

Result of est.R0 (class sR)

xscale

Scale to be adjusted on X axis. Can be "d" (day), "w" (week (default)), "f" (fornight), "m" (month).

TD.split

Parameter to force the display of both R(t) and the epidemic curve in the same window for TD method

...

parameters passed to plot.R

Author

Pierre-Yves Boelle, Thomas Obadia

Details

For internal use. Called by plot.

Tweaked plot() function that draws the reproduction number values for each method contained in the object constructed by est.RO().