powered by
Inverse logit transform
expit(mu)
log-odds
returns a scalar or vector the same length as mu with values that are the inverse logit transform of mu
# NOT RUN { logodds = rnorm(10) expit(logodds) logodds = log(1.0) expit(logodds) # }
Run the code above in your browser using DataLab