heav | R Documentation |
This function generates Heavisine function values for n equally spaced points in [0,1].
heav(norx=1024)
norx |
the number of data or x values in [0, 1] |
Heavisine function is introduced by Donoho and Johnstone (1994) and is useful test function evaluating a wavelet shrinkage method.
Heavisine function values f(i/n), i=1,…,n and its variability ||f|| = ∑_{i=1}^n (f_i - mena(f))^2 / (n-1) where mena(f) = ∑_{i=1}^n f_i / n.
Donoho, D.L. and Johnstone, I.M. (1994) Ideal spatial adaptation by wavelet shrinkage. Biometrika, 81, 425–455.
dopp
, ppoly
, fg1
.
testheav <- heav(1024) plot(testheav$x, testheav$meanf, xlab="", ylab="", main="Plot of Heavisine function", type="l")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.