credible_plot {EBASE} | R Documentation |
Plot credible intervals for a, R, and b
credible_plot(res, params = c("a", "R", "b"))
res |
output data frame from |
params |
character vector indicating which parameters to plot, one to any of |
This function plots 95% credible intervals (2.5th to 97.5th percentiles, approximate posterior distributions) for a
, R
and/or b
using the output from ebase
. Results in the plot are grouped by the ndays
argument that was used in ebase
.
A ggplot
object
# plot credible intervals
credible_plot(exres)