Description Usage Arguments Details
ModCV(index, indexlist, Formula, DFrame, Func, Resp, ...)
1 |
index |
numerical index representing length of |
indexlist |
list created using Kcross, of length K with $train and $test indices |
Formula |
formula for the model |
DFrame |
the name of the original data frame |
Func |
a function, e.g., lm or randomForest (regression model) |
Resp |
either the column number or the 'name' of the response variable |
... |
additional arguments to pass to the model, e.g., hidden=3 for ANN |
Allows k-fold cross validation of a regression model (with continuous response) and stores output in a list. See vignette.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.