Crandore Hub

easy.glmnet

Functions to Simplify the Use of 'glmnet' for Machine Learning

Provides several functions to simplify using the 'glmnet' package: converting data frames into matrices ready for 'glmnet'; b) imputing missing variables multiple times; c) fitting and applying prediction models straightforwardly; d) assigning observations to folds in a balanced way; e) cross-validate the models; f) selecting the most representative model across imputations and folds; and g) getting the relevance of the model regressors; as described in several publications: Solanes et al. (2022) <doi:10.1038/s41537-022-00309-w>, Palau et al. (2023) <doi:10.1016/j.rpsm.2023.01.001>, Salazar de Pablo et al. (2025) <doi:10.1038/s41380-025-03244-1>.

Versions across snapshots

VersionRepositoryFileSize
1.1 rolling source/ R- easy.glmnet_1.1.tar.gz 12.9 KiB
1.1 latest source/ R- easy.glmnet_1.1.tar.gz 12.9 KiB
1.1 2026-04-09 windows/windows R-4.5 easy.glmnet_1.1.zip 86.9 KiB

Dependencies (latest)

Imports

Suggests