wd
or wr
) are
packed into a single vector in that structure.
This function extracts the coefficients corresponding to a particular
resolution level.accessD(wd.obj, level, boundary=FALSE)
The need for this function is a consequence of the pyramidal structure
of Mallat's algorithm and the memory efficiency gain achieved by
storing the pyramid as a linear vector. AccessD obtains information about
where the coefficients appear from the fl.dbase component of
wd.obj, in particular the array fl.dbase$first.last.d
which
gives a complete specification of index numbers and offsets for
wd.obj$D
.
Note that this function and accessC only work on objects of class
wd
. Also, you have to use putD
to put wavelet
coefficients into a wd object.
wr
and wd
for background information;
accessC
, filter.select
,
threshold
, putC
, putD
.example(wd)
## Get the 3rd level coefficients of a decomposition
accessD(wds, level=3)
## Do a qqnorm plot to assess the normality of some coefficients
qqnorm(accessD(wds, level=8))
Run the code above in your browser using DataLab