expit {metropolis}R Documentation

Inverse logit transform

Description

Inverse logit transform

Usage

expit(mu)

Arguments

mu

log-odds

Value

returns a scalar or vector the same length as mu with values that are the inverse logit transform of mu

Examples

logodds = rnorm(10)
expit(logodds)
logodds = log(1.0)
expit(logodds)

[Package metropolis version 0.1.8 Index]