View source: R/pheno_feat_sel.R
pheno_feat_sel | R Documentation |
Elastic net logistic regression
pheno_feat_sel(surrogate, features, covariates = NULL, ...)
surrogate |
a vector of length |
features |
a matrix of dimension |
covariates |
an optional matrix of dimension |
... |
further agruments not used here |
a list containing 2 components:
logisticEN_model a glmnet
object
that can be used to predict external observation.
sel_feata vector containing either the names of the selected features
via cross valiation on the "class" measure type (through cv.glmnet
)
using the lambda.1se
parameter.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.