mlm_pars_plot {bmlm} | R Documentation |
Plot estimated parameters of multilevel mediation model
Description
Plot the model's estimated parameters as histograms or a coefficient plot.
Usage
mlm_pars_plot(
mod = NULL,
type = "hist",
color = "black",
p_shape = 15,
p_size = 1.2,
level = 0.95,
nrow = 3,
pars = c("a", "b", "cp", "covab", "me", "c", "pme")
)
Arguments
mod |
A Stanfit model estimated with |
type |
Type of the plot, |
color |
Color (and fill) for plots. |
p_shape |
Shape of points for coefplot. |
p_size |
Size of points for coefplot. |
level |
X level for Credible Intervals. (Defaults to .95.) |
nrow |
Number of rows for multiple histograms. |
pars |
Which parameters to plot. |
Details
The point estimate for the coefficient plot is the posterior mean.
Value
A ggplot2 object.
Author(s)
Matti Vuorre mv2521@columbia.edu
[Package bmlm version 1.3.15 Index]