Description Usage Arguments Value Author(s)
Function provides the cross-validation error for the loess curve in a manner that is amenable to optimization of the span.
1 2 3 4 5 6 7 8 9 10 |
span |
The span of the loess smoother. |
form |
The formula that identifies the model |
data |
A data frame containing the required variables. |
cost |
Cost function to be passed down to loess. |
K |
Number of folds for the cross-validation |
numiter |
Number of times over which the cv error will be aggregated |
which |
Return raw or corrected cv error |
The cross-validation error from the loess curve.
Dave Armstrong
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.