Learn R Programming

R0 (version 1.2-6)

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

"plot"(x, xscale = "w", TD.split = FALSE, ...)

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

Value

Draws all R0 or R(t) values from requested estimation methods.

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().