R/coef.glmnet.R

Defines functions coef.glmnet

Documented in coef.glmnet

#' Extract coefficients from a glmnet object
#'
#' @method coef glmnet
#' @rdname predict.glmnet
#' @export
#' @export coef.glmnet
coef.glmnet=function(object,s=NULL,exact=FALSE,...)
  predict(object,s=s,type="coefficients",exact=exact,...)

Try the glmnet package in your browser

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

glmnet documentation built on Aug. 22, 2023, 9:12 a.m.