autoplot.bvharsp {bvhar}R 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

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


[Package bvhar version 2.0.1 Index]