plot-LagKernelWeight: Plot the values of the 'LagKernelWeight'.

Description Usage Arguments Details Value Examples

Description

Creates a plot visualizing the weights W_n(k [cf. LagKernelWeight-class] that are used to estimate the quantile spectral density.

Usage

1
2
3
## S4 method for signature 'LagKernelWeight,missing'
plot(x, y, ylab = expression(W[n](k)),
  xlab = expression(k), main = x@descr, ...)

Arguments

x

The LagKernelWeight 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 points k/bw with (-K:k:K) are shown.

Value

Plots the LagKernelWeight.

Examples

1
2
3
4
plot(lagKernelWeight(WParzen, bw=10, K = 20),
       ylab=expression(W[n](x)),
       xlab=expression(x),
       main="Weights to the Parzen Window")

tobiaskley/quantspec documentation built on May 31, 2019, 4:44 p.m.