denwr: Wavelet reconstruction for density estimation.

denwrR Documentation

Wavelet reconstruction for density estimation.

Description

Performs wavelet reconstruction for density estimation.

Usage

denwr(wd, start.level=0, verbose=FALSE, bc=wd$bc,
    return.object=FALSE, filter.number=wd$filter$filter.number,
    family=wd$filter$family)

Arguments

wd

Wavelet decomposition object to reconstruct

start.level

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".

verbose

Controls the printing of "informative" messages whilst the computations progress. Such messages are generally annoying so it is turned off by default.

bc

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".

filter.number

The filter number of the wavelet used to do the reconstruction. Again, as for bc, you should probably leave this argument alone.

family

The type of wavelet used to do the reconstruction. You can change this argument from the default but it is probably NOT wise.

return.object

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.

Details

This is the same as wr.wd, except that it can handle zero boundary conditions.

Value

Either a vector containing the top level reconstruction or an object of class wd.object containing the results of the reconstruction.

Author(s)

David Herrick


wavethresh documentation built on Sept. 11, 2024, 9:33 p.m.