ORci {CIplot} | R Documentation |
glm
objectCalculate odds ratios and their confidence intervals
from glm
object
ORci(x, conf.level = 0.95)
x |
|
conf.level |
the confidence interval. Default is 0.95. |
an object ORci
and matirix
classes with four columns.
odds ratio
lower conficence intarval
upper conficence intarval
P value by logistic regression
require(graphics)
require(MASS)
data(birthwt)
x <- glm(low ~ age + lwt + smoke + ptl + ht + ui, data = birthwt,
family = binomial)
OR1 <- ORci(x)
CIplot(OR1, las = 1)