Quick plot for treatment effects with confidence intervals
qplot_effects(
result,
start_year = NULL,
unit_name = "Treated Unit",
outcome_label = "Outcome",
show_ci = TRUE,
show_vanilla = FALSE
)ggplot object (invisibly)
Output from run_scm_spillover
First year of treatment period
Name of treated unit (default "Treated Unit")
Label for outcome variable (default "Outcome")
Logical, whether to show confidence bands (default TRUE)
Logical, whether to show vanilla SCM comparison (default FALSE)