R/checkFcn.R

checkFcn <- function(x, p=.5){
return((x < 0)*-1*x*(1-p) + (x>0)*p*x)
 		}

Try the factorQR package in your browser

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

factorQR documentation built on May 2, 2019, 3:38 p.m.