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)
}
alexanderrobitzsch/CDM documentation built on Aug. 30, 2022, 12:31 a.m.