e_convert_logit: Logit: Convert from Probability to log(Odds Ratio)

View source: R/e_convert_oddsratio-probability_ALL.R

e_convert_logitR Documentation

Logit: Convert from Probability to log(Odds Ratio)

Description

See car::logit for a better implementation.

Usage

e_convert_logit(p = NULL, sw_percent = FALSE)

Arguments

p

list of probabilities

sw_percent

T/F input is percent

Value

z list of log(odds ratios) logit-scale values

Examples

p <- seq(0, 1, by = 0.1)
e_convert_logit(p)

erikerhardt/erikmisc documentation built on April 17, 2025, 10:48 a.m.