Description Usage Arguments Value References Examples
View source: R/logit_to_prob.r
The function transforms a logit value to a probability value.
1 | logit_to_prob(logit)
|
logit |
|
Probability value of the logit value served as input.
1 2 3 4 | data <- supportR::create_data()
mod <- glm(female_ceo ~ board_size, data = data, family = "binomial")
coefs <- coef(mod)
logit_to_prob(logit = coefs[["board_size"]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.