R/tilted.huber.prime.R

Defines functions tilted.huber.prime

Documented in tilted.huber.prime

tilted.huber.prime <-
function(x, tau, eps)
{
    dth <- x
    dth[x>0] <- tau*huber.prime(x[x>0], eps)
    dth[x<=0] <- (1-tau)*huber.prime(x[x<=0], eps)
    dth
}

Try the qrnn package in your browser

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

qrnn documentation built on May 30, 2017, 3:24 a.m.