Learn R Programming

R0 (version 1.2-10)

plot.R0.R: Plot the R0/Rt value along with confidence interval

Description

Plot the R0/Rt value along with confidence interval

Usage

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

Value

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

Arguments

x

Result of est.R (class R)

all

Should the whole epidemic curve be shown

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

Author

Pierre-Yves Boelle, Thomas Obadia

Details

For internal use. Called by plot.