door_cumulative_forestplot | R Documentation |
Generate cumulative DOOR forest plot
door_cumulative_forestplot(
y1 = NULL,
y2 = NULL,
n1 = NULL,
n2 = NULL,
data_type = c("freq", "prop"),
summary_obj = NULL,
conf_level = 0.95,
ci_method = c("halperin", "ps_h", "tanh")
)
y1 , y2 |
Numeric vectors of DOOR proportion or frequency distribution for group 1, group 2. The entries should be ordered from most desirable to least desirable |
n1 , n2 |
Sample sizes of group 1, group 2; must be specified if method = "prop" |
data_type |
Either "freq" for frequency input or "prop" for proportion input when using y1 and y2 |
summary_obj |
An object returned by |
conf_level |
confidence level |
ci_method |
methods for calculating confidence interval |
a forestplot object
y1 = c(60, 30, 10)
y2 = c(50, 40, 10)
door_cumulative_forestplot(y1, y2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.