fstar {OSCV} | R Documentation |
Nonsmooth density f^*
with seven cusps introduced in the article of Savchuk (2017).
fstar(u)
u |
numerical vecror of argument values in the range [-3,3]. |
The function f^*
consists of straight lines with different slopes connected together. The support of the density is [-3,3].
The vector of values of f^*
corresponding to the values of the vector u
.
Savchuk, O.Y. (2017). One-sided cross-validation for nonsmooth density functions, arXiv:1703.05157.
## Not run:
dev.new()
plot(seq(-3.5,3.5,len=1000),fstar(seq(-3.5,3.5,len=1000)),'l',lwd=3,
main="Nonsmooth density fstar with seven cusps", xlab="argument", ylab="density",cex.main=1.5,
cex.axis=1.7,cex.lab=1.7)
## End(Not run)