plot.hdlp {desla}R Documentation

Plot Impulse Responses obtained from HDLP.

Description

Plot Impulse Responses obtained from HDLP.

Usage

## S3 method for class 'hdlp'
plot(
  x,
  y = NULL,
  response = NULL,
  impulse = NULL,
  states = NULL,
  units = NULL,
  title = NULL,
  ...
)

Arguments

x

Output of the HDLP() function.

y

Has no function, included for compatibility with plot.default().

response

Name of the response variable (y in HDLP()).

impulse

Name of the shock variable (x in HDLP()).

states

Optional names of the states (when applicable). If not provided, names will be determined from x.

units

Units of the response variable (y-axis label).

title

String containing title of the plot; can be used to overwrite default generated based on the names of the response and impulse variables.

...

Other arguments forwarded to plot function (currently inactive).

Value

A ggplot object.


[Package desla version 0.3.0 Index]