R/logistic_reg_glmnet.R

#' Logistic regression via glmnet
#'
#' [glmnet::glmnet()] fits a generalized linear model for binary outcomes. A
#' linear combination of the predictors is used to model the log odds of an
#' event.
#'
#' @includeRmd man/rmd/logistic_reg_glmnet.md details
#'
#' @name details_logistic_reg_glmnet
#' @keywords internal
NULL

# See inst/README-DOCS.md for a description of how these files are processed

Try the parsnip package in your browser

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

parsnip documentation built on Aug. 18, 2023, 1:07 a.m.