extractOR: Extract the odds ratios from a S3 object of glm

Description Usage Arguments Value

View source: R/ORplot.R

Description

Extract the odds ratios from a S3 object of glm

Usage

1
extractOR(x, digits = 2, method = "default")

Arguments

x

A S3 object of glm

digits

An integer indicating the number of decimal places (round) or significant digits to be used. Default value is 2.

method

Method to compute confidence interval. Choices are one of c("default","LRT").

Value

A data.frame consist of odds ratios and 95 p values


moonBook documentation built on Jan. 13, 2021, 6:43 a.m.