Description Usage Arguments Value Examples
Choose number of basis functions in least squares B-splines via crossvalidation
1 |
Y |
a response vector (centered) |
X |
vector of covariate observations |
d.seq |
a sequence of candidate numbers of basis functions |
n.folds |
the number of crossvalidation folds |
plot |
a logical indicating whether to plot crossvalidation output |
the number of basis functions selected by crossvalidation
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.