R/trimLogit.R

Defines functions trimLogit

Documented in trimLogit

trimLogit <- function(x, trim=0.00001) {
	x[x < trim] <- trim
	x[x > (1-trim)] <- (1-trim)
	foo <- log(x/(1-x))
	return(foo)
}
ecpolley/SuperLearner documentation built on Aug. 28, 2018, 10:16 p.m.