coef_lambda {regressoR} | R Documentation |
coef_lambda
Description
get penalized regression coefficients.
Usage
coef_lambda(data, variable.pred, model, log.lambda = NULL)
Arguments
data |
dataframe |
variable.pred |
the name of the variable to be predicted. |
model |
a penalized regression model(cv.glmnet). |
log.lambda |
numerical. Logarithm of lambda in case you don't want to use the optimal lambda. |
[Package regressoR version 3.0.2 Index]