Last chance! 50% off unlimited learning
Sale ends in
This function generates Piecewise polynomial function values for
ppoly(norx=1024)
the number of data or x values in [0, 1]
Piecewise polynomial function values
Piecewise polynomial function with the discontinuity is introduced by Nason and Silverman (1994) and is useful test function evaluating a wavelet shrinkage method.
Nason, G.P. and Silverman, B.W. (1994) The discrete wavelet transform in S. Journal of Computational and Graphical Statistics, 3, 163--191.
# NOT RUN {
testpoly <- ppoly(1024)
plot(testpoly$x, testpoly$meanf, xlab="", ylab="",
main="Plot of Piecewise polynomial function", type="l")
# }
Run the code above in your browser using DataLab