R/LASSOmia.R

Defines functions LASSOmia

LASSOmia <- function(x, lambda) 
{
    x <- abs(x)
    penalty <- lambda * x 
    return(penalty)
}

Try the fsemipar package in your browser

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

fsemipar documentation built on May 29, 2024, 1:31 a.m.