credible_plot {EBASE} | R Documentation |
Plot credible intervals for a, R, and b
Description
Plot credible intervals for a, R, and b
Usage
credible_plot(res, params = c("a", "R", "b"))
Arguments
res |
output data frame from |
params |
character vector indicating which parameters to plot, one to any of |
Details
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
.
Value
A ggplot
object
Examples
# plot credible intervals
credible_plot(exres)
[Package EBASE version 1.0.2 Index]