plot.ctryvecest: Plotting Draws of a VECX Submodel of a GVAR Model

View source: R/plot.ctryvecest.R

plot.ctryvecestR Documentation

Plotting Draws of a VECX Submodel of a GVAR Model

Description

A plot function for objects of class "ctryvecest" for visual inspection of posterior draws.

Usage

## S3 method for class 'ctryvecest'
plot(x, ci = 0.95, type = "hist", variables = "all", ctry = NULL, ...)

Arguments

x

an object of class "ctryvecest", usually, a result of a call to draw_posterior.

ci

interval used to calculate credible bands for time-varying parameters.

type

either "hist" (default) for histograms, "trace" for a trace plot, or "boxplot" for a boxplot. Only used for parameter draws of constant coefficients.

variables

character vector of variables that should be plotted. Default is "all". Other options are "domestic", "foreign", "global", "deterministic" and "sigma".

ctry

character (optional). Name of the country, which will be shown in the title of the output.

...

further graphical parameters.


franzmohr/bgvars documentation built on Sept. 2, 2023, 12:45 p.m.