Learn R Programming

wavethresh (version 4.6.9)

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)

Arguments

coef

Output from denproj

Value

An object of class wd.object

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
# NOT RUN {
# 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)
# }
# NOT RUN {
plotdenwd(data.wd, top.level=(datahr$res$J-1))
# }

Run the code above in your browser using DataLab