Numerically stable log inverse logit

log_inv_logit(x)

Arguments

x

real number or vector of reals

Value

the logarithm of the inverse logit of x

Examples

log_inv_logit(0)
#> [1] -0.6931472