R/e_convert_oddsratio-probability_ALL.R
e_convert_logit.Rd
See car::logit
for a better implementation.
e_convert_logit(p = NULL, sw_percent = FALSE)
list of probabilities
T/F input is percent
z list of log(odds ratios) logit-scale values
p <- seq(0, 1, by = 0.1)
e_convert_logit(p)
#> [1] -Inf -2.1972246 -1.3862944 -0.8472979 -0.4054651 0.0000000
#> [7] 0.4054651 0.8472979 1.3862944 2.1972246 Inf