glmnet_coefs: Extract glmnet model coefficients.

Description Usage Arguments

Description

Extract standardized and unstandardized coefficients.

Usage

1
glmnet_coefs(cv_glmnet, X, y, s = "lambda.1se", prepend = "", ...)

Arguments

cv_glmnet

a cv.glmnet object to extract coefficients for.

X

matrix of features used to train cv_glmnet

y

outcome used to train cv_glmnet

s

Value(s) of the penalty parameter lambda at which predictions are required

prepend

text to prepend to the coef and zcoef column names


dhimmel/hetior documentation built on May 15, 2019, 8:22 a.m.