coefsLogReg {MDMA}R Documentation

Coefficients for logistic regression analysis

Description

Show odds ratios and their confidence intervals for logistic regression parameter estimates.

[Stable]

Usage

coefsLogReg(model, confint = TRUE, level = 0.95)

Arguments

model

object of class glm, with family parameter set to binomial.

confint

indicates whether a confidence interval for the odds ratio should be returned.

level

the confidence level required.

Value

coefsLogReg returns the same table as summary(object)$coefficients, with the addition of the coefficients' odds ratios and their confidence intervals.

Author(s)

Mathijs Deen

Examples

glm(formula = am ~  disp, family = binomial, data = mtcars) |>
 coefsLogReg()

[Package MDMA version 1.1.0 Index]