Learn R Programming

wavethresh (version 4.7.3)

denwd: Wavelet decomposition of empirical scaling function coefficients of a p.d.f.

Description

Performs wavelet decomposition on the empirical scaling function coefficients of the probability density function.

Usage

denwd(coef)

Value

An object of class wd.object

Arguments

coef

Output from denproj

Author

David Herrick

Details

The empirical scaling function coefficients are decomposed using the DWT with zero boundary conditions.

See Also

denproj,plotdenwd,wd, denwr

Examples

Run this code
# Simulate data from the claw density, find the empirical
# scaling function coefficients, decompose them and plot
# the resulting wavelet coefficients
 
data <- rclaw(100)
datahr <- denproj(data, J=8, filter.number=2,family="DaubExPhase")
data.wd <- denwd(datahr)
if (FALSE) plotdenwd(data.wd, top.level=(datahr$res$J-1))

Run the code above in your browser using DataLab