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 Feb. 21, 2024, 11:38 p.m.