Learn R Programming

moonBook (version 0.1.1)

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

Description

Extract the odds ratios from a S3 object of glm

Usage

extractOR(x, digits = 2)

Arguments

x
A S3 object of glm
digits
An integer indicating the number of decimal places (round) or significant digits (signif) to be used. Default value is 2.

Value

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