reconstr: Reconstruct a top-down Unbalanced Haar decomposition

Description Usage Arguments Value Author(s) See Also Examples

View source: R/reconstr.R

Description

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

Usage

1
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

Author(s)

Piotr Fryzlewicz

See Also

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

Examples

1
2
3
4
5
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)

unbalhaar documentation built on May 29, 2017, 12:38 p.m.