Description Usage Arguments Details Value Examples
Creates a plot visualizing the weights W_n(ω)
[cf. KernelWeight-class
] that are used to estimate the
quantile spectral density.
1 2 3 4 5 6 7 8 9 | ## S4 method for signature 'KernelWeight,missing'
plot(
x,
y,
ylab = expression(W[n](omega)),
xlab = expression(omega),
main = x@descr,
...
)
|
x |
The |
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 |
In the plot the values at the frequencies 2π j / N, j=L+1-N,…,L, L:=\lfloor N/2 \rfloor are shown, where N is the parameter specified on construction of the object or N := 3, if that parameter was smaller than three. A warning is given in the later case.
Plots the KernelWeight
.
1 2 3 4 | plot(kernelWeight(W1, bw=0.3),
ylab=expression(W[n](x)),
xlab=expression(x),
main="Weights to an Epanechnikov kernel", sub="bw=0.3")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.