Usage
panel.prevalence(x, y, prevalence, box.width = NA, pch = "+", pch.out = 20, alpha = 0.5, ..., stats = boxplot.stats, coef = 1.5, do.out = TRUE)
Arguments
x
Vector of (numeric or difftime) treatment durations
prevalence
Treatment prevalence, typically an xtabs
object calculated by, e.g., xtabs(~trt, data)
box.width
If this is specified, a more-or-less standard
boxplot will be produced
pch
Plotting symbol used for boxplot median
pch.out
Plotting symbol for outliers (default is dot)
alpha
Boxplot transparency
stats
Function to generate boxplot statistics (default is
boxplot.stats
)
coef
How far boxplot whiskers should extend outside the box
do.out
Logical; should outliers be plotted?
...
Currently used to pass key.colors
parameter