Description Usage Arguments Value Author(s) See Also
View source: R/FRESAModelingFunctions.R
Fits a glmnet::cv.glmnet
object to the data, and sets the prediction to use the features that created the minimum CV error or one SE.
1 2 3 |
formula |
The base formula to extract the outcome |
data |
The data to be used for training the KNN method |
coef.thr |
The threshold for feature selection when alpha < 1. |
s |
The lambda threshold to be use at prediction and feature selection |
... |
Parameters to be passed to the cv.glmnet function |
fit |
The |
s |
The s. Set to "lambda.min" or "lambda.1se" for prediction |
formula |
The formula |
outcome |
The name of the outcome |
usedFeatures |
The list of features to be used |
Jose G. Tamez-Pena
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.