CI_log_OR | R Documentation |
CI_log_OR()
calculates confidence intervals for log odds ratios from the log odds ratios
and data of two vectors representing the frequencies of: numerator; denominator.
CI_log_OR(log_OR, numerator, denominator, sig = 0.05, upper = TRUE)
log_OR |
log odds ratios |
numerator |
the column whose data are the frequencies of the numerator |
denominator |
the column whose data are the frequencies of the denominator |
sig |
significance level (i.e., 0.05 for 95% CI) |
upper |
logical, if TRUE (the default), return the upper limit of the confidence interval. Otherwise return its lower limit |
A vector of the confidence limit of the log odds ratios (either the upper or lower limit)
CI_log_OR(rnorm(10), rbinom(10, 1000, 0.8), rbinom(10, 1000, 0.1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.