autoplot.bvharsp: Plot the Result of BVAR and BVHAR MCMC

View source: R/plot.R

autoplot.bvharspR Documentation

Plot the Result of BVAR and BVHAR MCMC

Description

Draw BVAR and BVHAR MCMC plots.

Usage

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

Arguments

object

A bvharsp object

type

The type of the plot. Posterior coefficient (coef), 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.