Package: easy.glmnet
Type: Package
Title: Functions to Simplify the Use of 'glmnet' for Machine Learning
Version: 1.2
Date: 2026-09-25
Authors@R: person(given = "Joaquim", family = "Radua", email = "quimradua@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-1240-5438"))
Description: Provides several functions to simplify using the 'glmnet' package: a) 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 and estimating the accuracy and calibration; f) selecting the most representative model across imputations and folds; and g) getting the count and 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>.
License: GPL-3
Imports: cocor, doParallel, foreach, glmnet, multisite.accuracy,
        parallel, pROC, survival
Suggests: knitr, rmarkdown
VignetteBuilder: knitr
LazyData: true
Depends: R (>= 3.5)
NeedsCompilation: no
Packaged: 2026-10-26 10:16:03 UTC; team
Author: Joaquim Radua [aut, cre] (ORCID:
    <https://orcid.org/0000-0003-1240-5438>)
Maintainer: Joaquim Radua <quimradua@gmail.com>
Repository: CRAN
Date/Publication: 2026-10-26 11:00:02 UTC
Built: R 4.6.1; ; 2026-10-26 12:20:15 UTC; unix
