Learn R Programming

sparsevar (version 1.0.0)

plot_var: Plot VARs

Description

Plot all the matrices of a VAR model

Usage

plot_var(..., colors)

Value

An image plot with a specific color palette

Arguments

...

a sequence of VAR objects (one or more than one, as from simulateVAR or fitVAR)

colors

the gradient used to plot the matrix. It can be "light" (low = red -- mid = white -- high = blue) or "dark" (low = red -- mid = black -- high = green)