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

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

plot.R0.RR Documentation

Plot the R0/Rt value along with confidence interval

Description

Generates the graphical output for an estimated R or R(t). The graph depends on the estimation method. In general, the estimated value is presented along with its confidence interval.

Usage

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

Arguments

x

An estimated object, output from est.R0.xx() routines (class R0.R).

xscale

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

TD.split

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

...

Parameters passed to inner functions.

Details

For internal use. This function is called when using plot.R0.sR().

This is a wrapper function that will call the correct plotting routine depending on which method was used to estimate a reproduction number.

Value

This function does not return any data. Called for side effect. Draws all R_{0} or /eqnR(t) values from one estimation method.

Author(s)

Pierre-Yves Boelle, Thomas Obadia


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

Related to plot.R0.R in R0...