Description Usage Arguments Value
Cross-validation for both alpha and lambda
1 2 3 |
x |
An input matrix or data.frame to be fitted. |
y |
An integer or numeric vector which represents response variable. |
alpha |
A numeric vector which represents alpha values to be examined. |
nfolds |
The number of folds. The default value is 10. |
foldid |
An integer vector of values between 1 and nfold identifying what fold each observation is in. |
parallel.alpha |
not implemented yet. |
... |
Other arguments are passed directly to cv.aglm(). |
Result of cross-validation. See CVA_AccurateGLM
's document for more details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.