plot-SmoothedPG {quantspec} | R Documentation |
Plot the values of a SmoothedPG
.
Description
Creates a K
x K
plot depicting a smoothed quantile periodogram.
Optionally, the quantile periodogram on which the smoothing was performed,
a simulated quantile spectral density, and pointwise confidence intervals can
be displayed.
In each of the subplots either the real part (on and below the diagonal;
i. e., ) or the imaginary parts
(above the diagonal; i. e.,
) of
the smoothed quantile periodogram (blue line),
the quanitle peridogram that was used for smoothing (gray line),
a simulated quantile spectral density (red line),
pointwise (asymptotic) confidence intervals (light gray area),
for the combination of levels and
denoted on the left and bottom margin of the plot are displayed.
Usage
## S4 method for signature 'SmoothedPG,ANY'
plot(
x,
plotPG = FALSE,
qsd,
ptw.CIs = 0.1,
type.CIs = c("naive.sd", "boot.sd", "boot.full"),
ratio = 3/2,
widthlab = lcm(1),
xlab = expression(omega/2 * pi),
ylab = NULL,
type.scaling = c("individual", "real-imaginary", "all"),
frequencies = x@frequencies,
levels = intersect(x@levels[[1]], x@levels[[2]])
)
Arguments
x |
The |
plotPG |
a flag indicating weater the |
qsd |
a |
ptw.CIs |
the confidence level for the confidence intervals to be displayed; must be a number from [0,1]; if null, then no confidence intervals will be plotted. |
type.CIs |
indicates the method to be used for determining the
confidence intervals; the methods available are those
provided by
|
ratio |
quotient of width over height of the subplots; use this parameter to produce landscape or portrait shaped plots. |
widthlab |
width for the labels (left and bottom); default is
|
xlab |
label that will be shown on the bottom of the plots; can be
an expression (for formulas), characters or |
ylab |
label that will be shown on the left side of the plots;
can be an expression (for formulas), characters or
|
type.scaling |
a method for scaling of the subplots; currently there
are three options: |
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. |
Details
Currently, only the plot for the first component is shown.
Value
Returns the plot described in the Description section.