oddsratiotable: Odds ratio table from logistic regression

View source: R/oddsratiotable.R

oddsratiotableR Documentation

Odds ratio table from logistic regression

Description

Odds ratio table from logistic regression

Usage

oddsratiotable(x, confint.method = c("default", "profilelikelihood"))

Arguments

x

glm object fit with family = binomial

confint.method

"default" or "profilelikelihood"

Value

matrix with 4 columns: OR, 2.5% & 97.5% CI, p_val

Author(s)

E.D. Gennatas

Examples

## 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)

egenn/rtemis documentation built on Oct. 28, 2024, 6:30 a.m.