synthdid_placebo_plot | R Documentation |
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.