View source: R/plots_efficacy.R
| plot_change | R Documentation |
The band is the normal approximation to the standard error of the mean. Replace it with the model named in the statistical analysis plan for a primary contrast.
plot_change(data, visit = "week", change = "chg", arm = "arm",
title = "Mean change from baseline", xlab = "Week",
ylab = "Mean change (95% CI)")
data |
Longitudinal data. |
visit, change, arm |
Column names. |
title, xlab, ylab |
Labels. |
A ggplot object.
endo <- simulate_endocrinology(n_per_arm = 15)
plot_change(endo$adlb, title = "HbA1c")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.