credible_prep {EBASE}R Documentation

Get credible intervals for a, R, b

Description

Get credible intervals for a, R, b

Usage

credible_prep(res, params = c("a", "R", "b"), labels = FALSE)

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)

labels

logical indicating of parameter labels are output as an expression for parsing in plot facets, default FALSE

Details

This function gets 95% credible intervals (2.5th to 97.5th percentiles, approximate posterior distributions) for a, R, and/or b using the output from ebase. The function is used in credible_plot, but is provided as a separate function for convenience.

Value

A data frame

Examples

# get credible intervals
credible_prep(exres)

[Package EBASE version 1.0.1 Index]