mlm_pars_plot: Plot estimated parameters of multilevel mediation model

Description Usage Arguments Details Value Author(s)

Description

Plot the model's estimated parameters as histograms or a coefficient plot.

Usage

1
2
3
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 mlm().

type

Type of the plot, hist or coefplot.

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



Search within the bmlm package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.