wavTransform(data, series, n.levels, dictionary, shifted, xform)
signalSeries
object
representing the input series.wavDictionary
representing
the wavelet dictionary of the transform.TRUE
, it signifies that the
transform coefficients have already been shifted for approximate zero
phase alignment."modwt"
or "dwt"
.wavTransform
.
d4
crystal (fourth level
wavelet coefficients). Usage: as.matrix(x)wavTransform
object."energy"
an energy plot (bar or pie chart) is produced.
Default: "h"
.TRUE
and type="energy"
,
a bar plot of crystal energy is plotted. Default: TRUE
.TRUE
and type="energy"
,
a pie chart of crystal energy is plotted. Default: FALSE
.TRUE
, the plot is added to the
current plot layout without a frame ejection. Default: FALSE
.Used internally by the wavMODWT
and wavDWT
functions
to package the transform contents into a list.
wavDWT
, wavMODWT
, wavDWPT
, wavMODWPT
, wavBoundary
, wavSortCrystals
, wavPacketIndices
, wavShrink
.## calculate a MODWT of the sunpots series and
## verify the class
W <- wavMODWT(sunspots)
print(class(W))
## summarize the object
summary(W)
## reconstruct the MODWT of the sunspots series
## and compare to the original
sunup <- reconstruct(W)
splus2R::vecnorm(sunup - sunspots)
Run the code above in your browser using DataLab