View source: R/plot_sg_results.R
| compute_sg_summary | R Documentation |
Internal function to compute summary statistics for each subgroup.
compute_sg_summary(
df,
df_H,
df_Hc,
outcome.name,
event.name,
treat.name,
sg0_name,
sg1_name
)
df |
Full analysis data frame |
df_H |
Data frame for H subgroup |
df_Hc |
Data frame for Hc subgroup |
outcome.name |
Character. Outcome variable name |
event.name |
Character. Event indicator name |
treat.name |
Character. Treatment variable name |
sg0_name |
Character. Label for H subgroup |
sg1_name |
Character. Label for Hc subgroup |
Data frame with summary statistics
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.