Learn R Programming

unbalhaar (version 2.1)

reconstr: Reconstruct a top-down Unbalanced Haar decomposition

Description

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

Usage

reconstr(buh)

Arguments

buh

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

Value

the inverse Unbalanced Haar transform of buh

See Also

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

Examples

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

Run the code above in your browser using DataLab