R/blogit.R

blogit <- function(x, limit = 25, ...) {
    limit = abs(limit)
    x = logit(x, ...)
    x[x < -limit] = -limit
    x[x > limit] = limit
    return(x)
}
julian-gehring/Rariant documentation built on May 20, 2019, 4:20 a.m.