rlr_type

0th

Percentile

rlr_type

returns the name of the penalty according to the alpha.

Usage
rlr_type(alpha_rlr = options_regressor("rlr.alpha"))
Arguments
alpha_rlr

the penalty is defined as alpha=1 is the lasso penalty, and alpha=0 the ridge penalty.

See Also

glmnet

Aliases
  • rlr_type
Examples
# NOT RUN {
rlr_type(1)
rlr_type(0)

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

Community examples

Looks like there are no examples yet.