R/cdm_penalty_threshold_tlp.R

Defines functions cdm_penalty_threshold_tlp

Documented in cdm_penalty_threshold_tlp

## File Name: cdm_penalty_threshold_tlp.R
## File Version: 0.06

cdm_penalty_threshold_tlp <- function( beta, tau, lambda )
{
    lambda_j <- lambda / tau * ( abs(beta) < tau )
    res <- cdm_penalty_threshold_lasso( val=beta, eta=lambda_j)
    return(res)
}

Try the CDM package in your browser

Any scripts or data that you put into this service are public.

CDM documentation built on Aug. 25, 2022, 5:08 p.m.