Learn R Programming

RCPA3 (version 1.3.1)

orci: Translate logistic regression coefficients into odds ratios with confidence interval

Description

Generates odds-ratios based on logistic regression model coefficients, reported by logregC with orci=TRUE argument

Usage

orci(model, digits = 3)

Value

Returns odds rations and confidence intervals in columns (a matrix class object)

Arguments

model

An estimated logistic regression model

digits

Number of digits after decimal to display

Examples

Run this code
   library(RCPA3)
   
   # \donttest{
   logit.model <- logregC(states$battleground2020 ~ states$vep16.turnout)
   orci(logit.model)
   # }

Run the code above in your browser using DataLab