Description Usage Arguments Value
Utility function to do forest plot from data.frame with effect estimates.
1 2 | plot_mtc_forest(x, sort.by = c("name", "effect")[1], lab = NULL,
do.log = TRUE, breaks = c(0.25, 0.5, 0.8, 1, 1.25, 2, 4))
|
x |
A data.frame with columns: Comparator, Med, CIlo, CIup. |
sort.by |
Character string defining how estimates are sorted, either "name" (the default) or "effect". |
lab |
Label to plot underneath x-axis. |
do.log |
Logical, whether log transformed x-axis or not (default = TRUE). |
breaks |
Where to put x-axis breaks and labels. |
A ggplot2 plot object which
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.