wd
) are packed into a single vector in that
structure. This function extracts the data corresponding to a
particular resolution level.## S3 method for class 'wd':
accessC(wd, level = nlevelsWT(wd), boundary=FALSE, aspect, ...)
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 returnedputC.wd
wr.wd
) function produces a wavelet decomposition (reconstruction)
structure.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,...
Nason, G. P. and Silverman, B. W. (1994). The discrete wavelet transform in S. Journal of Computational and Graphical Statistics, 3, 163--191.
wr
, wd
, accessD
, accessD.wd
,
filter.select
, threshold
, putC.wd
, putD.wd
.## Get the 3rd level of smoothed data from a decomposition
dat <- rnorm(64)
accessC(wd(dat), level=3)
Run the code above in your browser using DataLab