Calculates the probability (0, 1) using the inverse logit function.

inv_logit(x)

Arguments

x

A vector of continuous values

Value

A vector of probabilities

Examples

x = seq(-3,3,.5) inv_logit(x)
#> [1] 0.04742587 0.07585818 0.11920292 0.18242552 0.26894142 0.37754067 #> [7] 0.50000000 0.62245933 0.73105858 0.81757448 0.88079708 0.92414182 #> [13] 0.95257413