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>, Sobregrau et al. (2024) <doi:10.1016/j.jpsychores.2024.111656>.

Getting started

Package details

AuthorJoaquim Radua [aut, cre] (<https://orcid.org/0000-0003-1240-5438>)
MaintainerJoaquim Radua <quimradua@gmail.com>
LicenseGPL-3
Version1.0
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("easy.glmnet")

Try the easy.glmnet package in your browser

Any scripts or data that you put into this service are public.

easy.glmnet documentation built on Sept. 11, 2024, 6:54 p.m.