This function is most useful for visualization of the data and primarily used within the WiSE bootstrap methodology.
smoothTimeSeries(X, wavFam = "DaubLeAsymm", wavFil = 8, wavBC = "periodic", plotLevels = "none", ...)
"DaubLeAsymm"
and "DaubExPhase"
-- Daubechies Least Asymmetric and Daubechies Extremal Phase. This is the family
used within the wavethresh
package.
wavFam="DaubLeAsymm"
or integers between 1 and 10 when wavFam="DaubExPhase"
. These correspond to the number of vanishing moments of the wavelet. This is the filter.number
used within the wavethresh
package.
"periodic"
and "symmetric"
. This is the bc
used within the wavethresh
package.
"none"
, "all"
, or an integer between 0 and $J-1$.
plot
, plot.default
.
If "all"
plots are requested, all possible smooth series are plotted against the original input data within one graphical device. This is recommended for users trying to visualize the level of smoothing needed in their data. Note, $J0+1$ corresponds to the first fine level of coefficients which is set entirely to 0.
The wavelet options are only those allowed within the wavethresh
package. Please see the documentation for wavethresh
for further explanation of these quantities.
padVector
. Documentation regarding the wavelet transform: wavethresh-package
##Visualize data smoothing on the AIRS 60E data
data(CM20N20S60E)
AIRS <- as.vector(CM20N20S60E[ ,1])
padAIRS <- padVector(AIRS)$xPad
smoothAIRS <- smoothTimeSeries(padAIRS, plotLevels="all")
Run the code above in your browser using DataLab