View source: R/oddsratiotable.R
oddsratiotable | R Documentation |
Odds ratio table from logistic regression
oddsratiotable(x, confint.method = c("default", "profilelikelihood"))
x |
glm object fit with |
confint.method |
"default" or "profilelikelihood" |
matrix with 4 columns: OR, 2.5% & 97.5% CI, p_val
E.D. Gennatas
## Not run:
ir2 <- iris[51:150, ]
ir2$Species <- factor(ir2$Species)
ir.fit <- glm(Species ~ ., data = ir2, family = binomial)
oddsratiotable(ir.fit)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.