wd
) are packed into a single vector in that
structure. This function extracts the data corresponding to a
particular resolution level.accessC(wd.obj, level = wd.obj$nlevels, boundary=FALSE)
TRUE
then all of the boundary correction values
will be returned as well (note: the length of the returned vector
may not be a power of 2).
If boundary
is false, then just the coefficients will be returnedwd
For decomposition, the top level contains the original data, and subsequent lower levels contain the successively smoothed data. So if there are $2^m$ original data points, there will be m+1 levels indexed 0,1,...
wr
and
wd
. Further, accessD
,
filter.select
, plot.wd
,
threshold
, putC
, putD
.## Get the 3rd level of smoothed data from a decomposition
accessC(wd(rnorm(2^7)), level=3)
example(wd)
str(accessC(wds))
## Plot the time series from a reconstruction
plot.ts(accessC(wr(wds, return.obj = TRUE)))
Run the code above in your browser using DataLab