Learn R Programming

rqPen (version 2.2.2)

get_coef_pen: Returns the coefficient part of the penalized objective function

Description

Returns the value for the penalized portion of the penalized objective function.

Usage

get_coef_pen(coefs,lambda,intercept,penVars,penalty="LASSO")

Arguments

coefs

Coefficients to be transformed.

lambda

The penalty tuning parameter.

intercept

If the intercept is part of the coefficients.

penVars

Variables that were penalized.

penalty

The penalty function used.