Description Usage Arguments Examples
Plot Credible Intervals of a Bayesian Model
1 2 3 4 5 6 | plotCI(fit, keeppars = NULL, droppars = c("ySim", "log_lik", "lp__"),
estimate = "mean", cred.level = 0.9, method = "QI", ROPE = NULL,
rope.color = "black", SEbars = FALSE,
SEbar.color = "darkslategray3", point.color = "firebrick2",
point.size = 2.75, point.shape = 18, bar.color = "skyblue4",
bar.size = 0.8, H0 = 0, ...)
|
fit |
the model fit |
keeppars |
variables to keep |
droppars |
variables to drop. defaults to c("ySim", "log_lik", "lp__") |
cred.level |
Confidence level. Defaults to .90. |
method |
credible interval methods. Defaults to QI (quantile intervals) but HDI (highest density intervals) is also available. |
ROPE |
If you would like, ROPE limits added to the plot. |
rope.color |
rope color |
SEbars |
Defaults to FALSE. If TRUE, superimposes 68.2 percent intervals over wider ones. |
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. |
... |
other arguments to pass to post_summary, which is called internally |
1 | plotCI()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.