Description Usage Arguments Value
Perform LASSO for feature selection and create linear regression using selected features for big.matrix object
1 2 3 4 | big.model.FElasso(X, yvar = "incidence", labelvar = c("cancer", "age",
"Country_Transco", "year", "area.x", "area.y"), groupingvar = NULL,
crossvalidation = T, nfolds = 10, ncores = 1, returnplot = T,
relabel = FALSE)
|
X |
A big.matrix object |
yvar |
Name of the explained variable in |
labelvar |
Names of variables that should be excluded from the set of covariates |
groupingvar |
Variables that should be used to define independent
groups. Default to |
crossvalidation |
Should we perform cross-validation |
nfolds |
Number of folds for cross validation.
Ignored if |
ncores |
The number of OpenMP threads used for parallel computing. |
returnplot |
|
relabel |
|
Linear model fitted with selected features. If groupingvar
is
not NULL
, a nested dataframe is returned with linear regressions stored by
groups
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.