View source: R/ggp_measures_groups.R
ggp_measures_groups | R Documentation |
Plot of effect measures by group.
ggp_measures_groups(
data,
group = "model",
title = "Title",
subtitle = "Subtitle",
vline = list(colors = c("lightseagreen", "violet"), linetype = "solid", size = 3, alpha
= 0.5),
pointrange = list(size = 1, fatten = 2),
text = list(size = 3, color = "navy", digits = 2),
text_size = list(title = 0.9, y_axis = 0.9)
)
data |
Data frame with effect measures. |
group |
Name of group variable. |
title |
Title. |
subtitle |
Subtitle. |
vline |
geom_vline specs. |
pointrange |
geom_pointrange specs. |
text |
geom_text_repel specs. |
text_size |
text size for title and axis as a factor of base font size. |
Plot of effect measures by group. Usually with different method such as DiD and outcome. See exercise 7.1 and 7.2 for examples.
ggplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.