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

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, coef, or violin.

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.

Value

A ggplot2 object.

Details

The point estimate for the coefficient plot is the posterior mean.

Author

Matti Vuorre mv2521@columbia.edu