coef_lambda

0th

Percentile

coef_lambda

generates the code to print the penalized regression coefficients.

Usage
coef_lambda(data = "datos.aprendizaje", variable.pred = NULL,
  model.var = "modelo.rlr", lambda = NULL, cv.var = "cv.glm")
Arguments
data

the name of the learning data.

variable.pred

the name of the variable to be predicted.

model.var

the name of the variable that stores the resulting model.

lambda

a numerical value in case you don't want to use the optimal lambda.

cv.var

the variable that stores the optimal lambda.

Aliases
  • coef_lambda
Examples
# NOT RUN {
library(glmnet)
x <- rlr_model('iris', 'Petal.Length')
exe(x)

x <- coef_lambda('iris','Petal.Length', 'modelo.rlr')
exe(x)

# }
Documentation reproduced from package regressoR, version 1.1.7, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.