Skip to contents

This function draws density plot for coefficient matrices of Minnesota prior VAR model.

Usage

# S3 method for class 'summary.normaliw'
autoplot(
  object,
  type = c("trace", "dens", "area"),
  pars = character(),
  regex_pars = character(),
  ...
)

Arguments

object

A summary.normaliw object

type

The type of the plot. Trace plot (trace), kernel density plot (dens), and interval estimates plot (area).

pars

Parameter names to draw.

regex_pars

Regular expression parameter names to draw.

...

Other options for each bayesplot::mcmc_trace(), bayesplot::mcmc_dens(), and bayesplot::mcmc_areas().

Value

A ggplot object