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 Dec. 29, 2017, 8 a.m.