Usage
oddsratio(x, stratum = NULL, log = TRUE)
## S3 method for class 'oddsratio':
plot(x, conf_level = 0.95, type = "o",
xlab = NULL, ylab = NULL, xlim = NULL, ylim = NULL, whiskers = 0.1,
baseline = TRUE, transpose = FALSE, \dots)
Arguments
stratum
vector of strata dimensions.
log
if FALSE, ordinary odds ratios are computed.
conf_level
if not NULL or FALSE,
conf_level-% confidence intervals are plotted for each data
point.
xlab
label for the x-axis. Defaults to "Strata" if
transpose is FALSE.
ylab
label for the y-axis. Defaults to "Strata" if
transpose is TRUE.
xlim
x-axis limits. Ignored if transpose is FALSE.
ylim
y-axis limits. Ignored if transpose is TRUE.
baseline
if TRUE, a red dashed line is plotted at a
value of 1 (in case of odds) or 0 (in case of log-odds).
transpose
if TRUE, the plot is transposed.
whiskers
width of the confidence interval whiskers.
...
other graphics parameters (see par).