Learn R Programming

quantspec (version 1.2-4)

plot-LagOperator: Plot the values of the LagOperator.

Description

Creates a K x K plot (where K is the length of the levels parameter) showing the values of the LagOperator. The plots below the diagonal show the positive Lags and the plots above display the negative ones.

Usage

# S4 method for LagOperator,ANY
plot(
  x,
  levels = intersect(x@levels.1, x@levels.2),
  maxLag = maxLag,
  widthlab = lcm(1),
  ratio = 3/2,
  xlab = expression(omega/2 * pi),
  ylab = NULL
)

Arguments

x

The LagOperator to plot.

levels

a set of levels for which the values are to be plotted.

maxLag

maximum Lag that should be displayed. It defaults to the maximum number of Lags available but usually a smaller number yields a more informative result.

widthlab

width for the labels (left and bottom); default is lcm(1), cf. layout.

ratio

quotient of width over height of the subplots; use this parameter to produce landscape or portrait shaped plots.

xlab

label that will be shown on the bottom of the plots; can be an expression (for formulas), characters or NULL to force omission (to save space).

ylab

label that will be shown on the left side of the plots; can be an expression (for formulas), characters or NULL to force omission (to save space).