R/f.LAMBDA.R

f.LAMBDA <-
function (a, borne1, borne2) 
{
    if (a > borne2) {
        b = borne2
    }
    else {
        if (a < borne1) {
            b = borne1
        }
        else {
            b = a
        }
    }
    return(b)
}

Try the HSROC package in your browser

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

HSROC documentation built on Sept. 19, 2019, 9:05 a.m.