R/logit.R

logit <- function (x, min = 0, max = 1) 
{
    p <- (x - min)/(max - min)
    log(p/(1 - p))
}

Try the BAMMtools package in your browser

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

BAMMtools documentation built on July 16, 2022, 1:05 a.m.