R/disbayes.R
plot.disbayes.Rd
Posterior medians and 95
# S3 method for disbayes
plot(x, variable = "cf", ...)
Object returned by disbayes
Name of the variable of interest to plot against age, by default case fatality rates.
Other arguments. Currently unused
A ggplot2
object that can be printed to show the plot, or customised by adding geom
s.
Better plots can be drawn by tidy
ing the object returned by disbayes
, and using ggplot2
directly on the tidy data frame that this produces. See the vignette for examples.