number of folds for corss-validation. Arguement required when type="CV". Default is 5
plot.it
if TRUE, plot the cross-validated error or the BIC score curve
Value
OptMthe optimal smoothing parameter for M
OptLamthe optimal smoothing parameter for $\lambda_0$
Mgrida grid points for smoothing parameter M at which CV/BIC is computed
ICa list containing either cross-validated error or BIC score
L2normfunctional $L_2$-norm computed at each grid point
References
Lin, Y and Zhang, H. H. (2006). "Component Selection and Smoothing in Smoothing Spline Analysis of Variance Models", Annals of Statistics, 34, 2272--2297.
Storlie, C. B., Bondell, H. D., Reich, B. J. and Zhang, H. H. (2011). "Surface estimation, variable selection, and the nonparametric oracle property", Statistica Sinica, 21, 679--705.