Learn R Programming

forestsearch (version 0.1.0)

plot_sg_forest: Plot Forest Plot of Hazard Ratios

Description

Creates a forest plot showing hazard ratios with confidence intervals.

Usage

plot_sg_forest(hr_estimates, sg0_name, sg1_name, colors, title = NULL, ...)

Value

Invisible NULL (creates plot as side effect)

Arguments

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