powered by
Extract the odds ratios from a S3 object of glm
extractOR(x, digits = 2, method = "default")
A S3 object of glm
An integer indicating the number of decimal places (round) or significant digits to be used. Default value is 2.
Method to compute confidence interval. Choices are one of c("default","LRT").
A data.frame consist of odds ratios and 95 p values
# NOT RUN { data(cancer,package="survival") x=glm(status~rx+sex+age+obstruct+nodes,data=colon,family="binomial") extractOR(x) # }
Run the code above in your browser using DataLab