Inverse Logistic Function

inv_logit(x)

Arguments

x

a numeric vector on the logistic scale

Value

a numeric vector on the probability scale

Examples

inv_logit(-4:4)
#> [1] 0.01798621 0.04742587 0.11920292 0.26894142 0.50000000 0.73105858 0.88079708 #> [8] 0.95257413 0.98201379