brmplot | R Documentation |
Make plots of brm model parameter means and intervals.
brmplot(
mat,
ylim = NULL,
xlim = NULL,
horizontal = TRUE,
add = FALSE,
xs = NULL,
col = 1,
labels = "default",
xlab = "",
ylab = "",
pch = 16,
lwd = 2,
cex = 1.5,
las = NA,
cex.axis = 1,
grid = TRUE,
cex.lab = 1,
yaxs = "r",
xaxs = "r",
line = TRUE,
nudge = 0,
omit = 0,
...
)
mat |
a dataframe or matrix representing the posterior summary of brms model parameters. |
ylim |
optionally override the plot y range. |
xlim |
optionally override the plot x range. |
horizontal |
if TRUE, plot parameters across the x axis. |
add |
if TRUE, add to existing plot. |
xs |
provide x axis location for plotting parameters. |
col |
color for points and intervals. |
labels |
a vector of labels. If "", labels are blank. |
xlab |
optionally override the plot x axis range. |
ylab |
optionally override the plot y axis range. |
pch |
points for parameter means. |
lwd |
line widths for intervals. |
cex |
point size for parameter means. |
las |
orientation of axis labels. |
cex.axis |
expansion of axis tick numbers. |
grid |
if TRUE, a grid is added. |
cex.lab |
expansion of axis labels. |
yaxs |
y axis edge settings. |
xaxs |
x axis edge settings. |
line |
if TRUE, add a line at x=0. |
nudge |
nudge points along x axis by this amount. |
omit |
a vector of parameters to be omitted. |
... |
additional parameters are passed to internal call of brmplot. |
## Not run:
model_height_vtl = brms::get_model("11_model_height_vtl_f0")
fixed_effects = fixef (model_height_vtl)
brmplot (fixed_effects, omit = 1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.