R/blogit.R

Defines functions blogit

blogit <- function(x, limit = 25, ...) {
    limit = abs(limit)
    x = logit(x, ...)
    x[x < -limit] = -limit
    x[x > limit] = limit
    return(x)
}

Try the Rariant package in your browser

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

Rariant documentation built on May 2, 2018, 4:28 a.m.