OR_95CI | R Documentation |
a function that returns OR (95% CI) for each variable as character string
OR_95CI(coef, se, siglevel, roundto)
coef |
numeric vector of parameter estimates |
se |
numeric vector of standard error estimates |
siglevel |
significance level |
roundto |
number of decimal places to display |
character string of OR (95% CI)
Aya Mitani
m1 <- glm(y ~ x1 + x2, family = binomial("logit"), data = toydata) m1coef <- summary(m1)$coef OR_95CI(m1coef[,1], m1coef[,2], 0.05, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.