expit {metropolis} | R Documentation |
Inverse logit transform
expit(mu)
mu |
log-odds |
returns a scalar or vector the same length as mu with values that are the inverse logit transform of mu
logodds = rnorm(10)
expit(logodds)
logodds = log(1.0)
expit(logodds)