Skip to contents

Transform logit to probability

Usage

logit2prob(logit)

Arguments

logit

a vector of logit scale

Value

a vector of probabilities

Examples

logit2prob(c(0.5, 1, 1.5))
#> [1] 0.6224593 0.7310586 0.8175745