Logit and Inverse logit

logit(x)

inv_logit(x)

Arguments

x

Numeric vector.

Value

Numeric vector.

Examples

logit(0.5)
#> [1] 0
inv_logit(0)
#> [1] 0.5