R/expit.R

Defines functions expit

Documented in expit

expit <-
function(z)
{
     # Function to compute the inverse-logit transformation.
     #
     p <- exp(z) / (1 + exp(z))
     return(p = p)
}

Try the rgr package in your browser

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

rgr documentation built on May 2, 2019, 6:09 a.m.