plot-SpecDistrWeight {quantspec}R Documentation

Plot the values of the SpecDistrWeight.

Description

Creates a plot visualizing the weights W_n(\omega) [cf. SpecDistrWeight-class] that are used to estimate the integrated quantile spectral density.

Usage

## S4 method for signature 'SpecDistrWeight,missing'
plot(
  x,
  y,
  ylab = expression(W[n](omega)),
  xlab = expression(omega),
  main = x@descr,
  ...
)

Arguments

x

The SpecDistrWeight to plot.

y

missing arg from the generic; will be ignored.

ylab

label for the y-axis; optional

xlab

label for the x-axis; optional

main

titel (on top) of the plot; optional

...

optional parameters used for plotting

Details

In the plot the values at the frequencies 2\pi j / 128, j=-63,\ldots,64 are shown.

Value

Plots the SpecDistrWeight.

Examples

plot(specDistrWeight(),
       ylab=expression(W[n](x)),
       xlab=expression(x))

[Package quantspec version 1.2-3 Index]