coefplot.Rd
A more traditional version of bayesplot::mcmc_intervals()
, additionally
showing parameter means (and CIs) for each grouping factor.
coefplot(model, grouping = NA, level = 0.95, pars = NA, type = "br", interval_col = "black", interval_h = 0.1, point_col = "black", point_size = 3, r_col = "black", r_intervals = FALSE, r_alpha = 0.5, ...)
model | A brmsfit model |
---|---|
grouping | Name of grouping variable (e.g. |
level | For limits of credible intervals |
pars | Which parameters to show (defaults to NA (all parameters)). |
type | Show population level ("b"), group-specific ("r"), or both types ("br", default) of parameters. |
interval_col | Color of intervals |
interval_h | Height of bars at credible interval limits |
point_col | Color of points |
point_size | Size of points |
r_col | Color of points for group-specific posterior means |
r_intervals | Show credible intervals for group-specific parameters? |
r_alpha | Transparency of group-specific estimates |
... | Passed to |
a ggplot