autoplot.summary.normaliw: Density Plot for Minnesota Prior VAR Model

View source: R/plot.R

autoplot.summary.normaliwR Documentation

Density Plot for Minnesota Prior VAR Model

Description

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


bvhar documentation built on April 4, 2025, 5:22 a.m.