This function generates Heavisine function values for
heav(norx=1024)
the number of data or x values in [0, 1]
Heavisine function values
Heavisine function is introduced by Donoho and Johnstone (1994) and is useful test function evaluating a wavelet shrinkage method.
Donoho, D.L. and Johnstone, I.M. (1994) Ideal spatial adaptation by wavelet shrinkage. Biometrika, 81, 425--455.
# NOT RUN {
testheav <- heav(1024)
plot(testheav$x, testheav$meanf, xlab="", ylab="",
main="Plot of Heavisine function", type="l")
# }
Run the code above in your browser using DataLab