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 Nov. 8, 2020, 6:56 p.m.