R/plot.R
synthdid_placebo_plot.Rd
For our estimator and a placebo, plots treated and synthetic control trajectories and overlays a 2x2 diff-in-diff diagram. Requires ggplot2
synthdid_placebo_plot(estimate, overlay = FALSE, treated.fraction = NULL)
estimate, | as output by synthdid_estimate. |
---|---|
overlay, | binary, indicates whether plots should be overlaid or shown in different facets. Defaults to FALSE. |
treated.fraction | as in synthdid_placebo |