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 ebase

params

character vector indicating which parameters to plot, one to any of a, R, or b, (default all)

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.1 Index]