Description Usage Arguments Value
Use the returned output from 'computeRawError()' to compute CV statistics.
1 | computeStats(cvstuff, foldid, lambda, grouped)
|
cvstuff |
Output from a call to 'computeRawError()'. |
foldid |
Vector of values identifying which fold each observation is in. |
lambda |
Lambda values associated with the errors in 'cvstuff'. |
grouped |
Experimental argument; see 'kfoldcv()' documentation for details. |
A list with the following elements:
lambda |
The values of lambda used in the fits. |
cvm |
The mean cross-validated error: a vector of length 'length(lambda)'. |
cvsd |
Estimate of standard error of 'cvm'. |
cvup |
Upper curve = 'cvm + cvsd'. |
cvlo |
Lower curve = 'cvm - cvsd'. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.