Description Usage Arguments Value
View source: R/OptimalSmoothFunctions.R
Returns the value of the leave-one-out cross validation score for a given data set and smoothing parameter when a P-Spline fit is used.
1 | CalculateLOOCV(x, y, lambda)
|
x |
Vector of data points. |
y |
Vector of observations |
lambda |
Smoothing parameter. |
Single numeric value representing the mean sqaure CV error.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.