Performs wavelet reconstruction for density estimation.
denwr(wd, start.level=0, verbose=FALSE, bc=wd$bc,
return.object=FALSE, filter.number=wd$filter$filter.number,
family=wd$filter$family)
Either a vector containing the top level reconstruction or an object of
class wd.object
containing the results of the reconstruction.
Wavelet decomposition object to reconstruct
The level you wish to start the reconstruction at. This is usually the first level (level 0). Note that this option assumes the coarsest level is labelled 0, so it is best to think of this argument as "the number of levels up from the coarsest level to start the reconstruction".
Controls the printing of "informative" messages whilst the computations progress. Such messages are generally annoying so it is turned off by default.
The boundary conditions used. These should be determined by those
used to create the supplied wd.object
object.
In the case of density estimation they are "zero".
The filter number of the wavelet used to do the reconstruction. Again, as for bc, you should probably leave this argument alone.
The type of wavelet used to do the reconstruction. You can change this argument from the default but it is probably NOT wise.
If this is FALSE then the top level of the reconstruction is returned (this is the reconstructed function at the highest resolution). Otherwise, if it is TRUE, the whole wd reconstructed object is returned.
David Herrick
This is the same as wr.wd
,
except that it can handle zero boundary conditions.