View source: R/hard.thresh.bu.R
hard.thresh.bu | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.