Skip to contents

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