Learn R Programming

BVAR (version 0.1.5)

plot.bvar: Hyperparameter plot

Description

A collection of diagnostic plots with traces and densities of the marginal posterior likelihood and available hyperparameters. Minimum and maximum values of the hyperparameters are plotted as dashed lines in "darkgray".

Usage

# S3 method for bvar
plot(x, mar = c(2, 2, 2, 0.5), ...)

bv_plot(x, mar = c(2, 2, 2, 0.5), ...)

Arguments

x

A bvar, obtained from bvar.

mar

Numeric vector. Margins for par.

...

Other graphical parameters for par.

See Also

bv_plot_trace; bv_plot_irf

Examples

Run this code
# NOT RUN {
data <- matrix(rnorm(200), ncol = 2)
x <- bvar(data, lags = 2)

# Plot various output generated
plot(x)
# }

Run the code above in your browser using DataLab