Learn R Programming

sparsevar (version 1.0.0)

plot_irf_grid: IRF grid plot

Description

Plot a IRF grid object

Usage

plot_irf_grid(irf, eb, indexes, type, bands)

Value

An image plot relative to the impulse response function.

Arguments

irf

the irf object computed using impulseResponse

eb

the error bands estimated using errorBands

indexes

a vector containing the indices that you want to plot

type

plot the irf (type = "irf" by default) or the orthogonal irf (type = "oirf")

bands

which type of bands to plot ("quantiles" (default) or "sd")