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.
# S3 method for R0.R
plot(x, xscale = "w", TD.split = FALSE, ...)
This function does not return any data. Called for side effect. Draws all \(R_{0}\) or /eqnR(t) values from one estimation method.
An estimated object, output from est.R0.xx()
routines (class R0.R
).
Scale to be adjusted on x-axis. Can be d
(day), w
(week (default)), f
(fornight), m
(month).
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.
Pierre-Yves Boelle, Thomas Obadia
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.