Description Usage Arguments Author(s) See Also
View source: R/panel.prevalence.R
Provides a special graphic for treatment prevalence-vs-duration. Used in place of lattice function 'panel.bwplot', this function enables a special kind of graphic displaying prevalence of various kinds of treatment within a patient population, together with the distribution of treatment durations.
1 2 3 | panel.prevalence(x, y, prevalence, box.width = NA, pch = "+",
pch.out = 20, alpha = 0.5, ..., stats = boxplot.stats, coef = 1.5,
do.out = TRUE)
|
x |
Vector of (numeric or difftime) treatment durations |
y |
The treatment factor |
prevalence |
Treatment prevalence, typically an |
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
|
coef |
How far boxplot whiskers should extend outside the box |
do.out |
Logical; should outliers be plotted? |
... |
Currently used to pass |
David C. Norris
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.