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

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

plot.R0.sRR Documentation

Plot the R0/Rt value along with confidence interval

Description

Generates the graphical output for estimated R or R(t) fits.

Usage

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

Arguments

x

An output of estimate.R() (class R0.sR)

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. Called by [base::plot())].

Tweaked [base::plot()] function that draws the reproduction number values for each method contained in the object constructed by [estimate.R()].

[base::plot())]: R:base::plot()) [base::plot()]: R:base::plot() [estimate.R()]: R:estimate.R()

Value

This function does not return any data. Called for side effect. Draws all R_{0} or /eqnR(t) values from an output of estimate.R(), built with one or more methods.

Author(s)

Pierre-Yves Boelle, Thomas Obadia


tobadia/R0 documentation built on Sept. 24, 2023, 5:16 p.m.