Plots the fit of all requested models to epidemic data
# S3 method for R0.sR
plotfit(x, all = TRUE,
xscale = "w", SB.dist = TRUE,
...)Called for its side effect :
Draws all the epidemic curves and associated fit data computed by est.R0
Result of est.R (class R0.R)
Should the whole epidemic curve be shown
Scale to be adjusted on X axis. Can be "d" (day), "w" (week (default)), "f" (fornight), "m" (month).
Should R distribution throughout the epidemic be plotted for SB method? (default: TRUE)
Parameters passed to plot
Pierre-Yves Boelle, Thomas Obadia
For internal use. Called by plotfit.
Tweaked plot() function that draws the epidemic data and model fit of each method contained in the object constructed by est.RO().