hard.thresh.bu {unbalhaar} | R Documentation |
Presented with an object returned by best.unbal.haar.bu
, the function
sets to zero those Unbalanced Haar coefficients which fall below a certain threshold
sigma
.
hard.thresh.bu(buh.bu, sigma = 1)
buh.bu |
an object returned by |
sigma |
the threshold (a positive scalar) |
a thresholded object, of the same class as buh.bu
Piotr Fryzlewicz
best.unbal.haar.bu
, hard.thresh
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)