Learn R Programming

unbalhaar (version 2.1)

reconstr.bu: Reconstruct a bottom-up Unbalanced Haar decomposition

Description

Reconstructs a vector from its bottom-up Unbalanced Haar decomposition stored in an object returned by best.unbal.haar.bu or hard.thresh.bu.

Usage

reconstr.bu(buh.bu)

Arguments

buh.bu

an object of the type returned by best.unbal.haar.bu and hard.thresh.bu

Value

the inverse Unbalanced Haar transform of buh.bu

See Also

best.unbal.haar.bu, hard.thresh.bu, reconstr

Examples

Run this code
# NOT RUN {
x <- rnorm(1000)
x.uh <- best.unbal.haar.bu(x)
x.uh.th <- hard.thresh.bu(x.uh)
x.uh.th.r <- reconstr.bu(x.uh.th)
ts.plot(x.uh.th.r)
# }

Run the code above in your browser using DataLab