Learn R Programming

quantspec (version 1.2-4)

plot-FreqRep: Plot the values of the FreqRep.

Description

Creates a K x 2 plot depicting a FreqRep object. Each of the K ``lines'' of subplots shows the frequency representation for one value of \(\tau\). The real and imaginary part are shown on the left and the right, respectively.

Usage

# S4 method for FreqRep,ANY
plot(
  x,
  ratio = 2,
  frequencies = 2 * pi * (1:(floor(lenTS(x@Y)/2)))/lenTS(x@Y),
  levels = x@levels,
  d = 1:(dim(x@Y)[2])
)

Value

Plots the FreqRep for all

frequencies and levels specified.

Arguments

x

The FreqRep to plot.

ratio

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

frequencies

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

levels

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

d

vector indicating which components of a multivariate time series should be in the plot.