Skip to content

❗ This is a read-only mirror of the CRAN R package repository. glmnetUtils — Utilities for 'Glmnet'. Homepage: https://github.com/hongooi73/glmnetUtils

Notifications You must be signed in to change notification settings

cran/glmnetUtils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glmnetUtils

R-CMD-check

Some quality-of-life functions to streamline the process of fitting elastic net models with glmnet, specifically:

  • glmnet.formula provides a formula/data frame interface to glmnet.
  • cv.glmnet.formula does a similar thing for cv.glmnet.
  • Methods for predict and coef for both the above.
  • A function cva.glmnet to choose both the alpha and lambda parameters via cross-validation, following the approach described in the help page for cv.glmnet. Optionally does the cross-validation in parallel.
  • Methods for plot, predict and coef for the above.

You can install the development version from Github using devtools::install_github.

install.packages("devtools")
library(devtools)
install_github("hongooi73/glmnetUtils")
library(glmnetUtils)

About

❗ This is a read-only mirror of the CRAN R package repository. glmnetUtils — Utilities for 'Glmnet'. Homepage: https://github.com/hongooi73/glmnetUtils

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages