bayes_intervals: Plot Credible Intervals of a Bayesian Model

Description Usage Arguments Examples

View source: R/plot_functions.R

Description

Plot Credible Intervals of a Bayesian Model

Usage

1
2
3
4
5
6
bayes_intervals(out, cred.level = 0.95, ROPE = NULL,
  rope.color = "white", SEbars = TRUE, SEbar.color = "dodgerblue4",
  point.color = "firebrick2", point.size = 3.75, point.shape = 18,
  bar.color = "dodgerblue2", bar.size = 0.85, H0 = 0,
  droppars = c("lp__", "hs_c2", "g", "g_inv", "log_lik", "inv_g", "eta",
  "K", "lambda", "inv_lambda"), ...)

Arguments

out

the model fit

cred.level

Confidence level. Defaults to .95.

ROPE

If you would like, ROPE limits added to the plot.

rope.color

rope color

SEbars

Should standard error bars (68.2 pct credible intervals) be superimposed on the wider interval? Defaults to TRUE.

SEbar.color

standard error bar color

point.color

point color

point.size

point size

point.shape

default to 18 (diamond)

bar.color

bar color

bar.size

bar size

H0

the null hypothesis. defaults to 0.

droppars

c("lp__", "hs_c2", "g", "g_inv", "log_lik", "inv_g", "eta", "K", "lambda", "inv_lambda")

...

other arguments to pass to post_summary, which is called internally

Examples

1

abnormally-distributed/abdisttools documentation built on May 5, 2019, 7:07 a.m.