The inverse logit function

inv_logit(x)

Arguments

x

a logit values or vector of logit values

Value

the probability calculated as inverse logit

See also

Other utils: expose_stan_fns(), logit()

Examples

inv_logit(c(-10, 1, 0, 100))
#> [1] 4.539787e-05 7.310586e-01 5.000000e-01 1.000000e+00