View source: R/plot_sg_results.R
| plot_sg_forest | R Documentation |
Creates a forest plot showing hazard ratios with confidence intervals.
plot_sg_forest(hr_estimates, sg0_name, sg1_name, colors, title = NULL, ...)
hr_estimates |
Data frame with HR estimates |
sg0_name |
Character. Label for H subgroup |
sg1_name |
Character. Label for Hc subgroup |
colors |
List. Color specifications |
title |
Character. Plot title |
... |
Additional arguments |
Invisible NULL (creates plot as side effect)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.