Learn R Programming

scmSpillover (version 0.1.1)

qplot_series: Quick plot for actual vs synthetic control time series

Description

Quick plot for actual vs synthetic control time series

Usage

qplot_series(
  result,
  start_year = NULL,
  unit_name = "Treated Unit",
  outcome_label = "Outcome",
  treatment_label = "Treatment"
)

Value

ggplot object (invisibly)

Arguments

result

Output from run_scm_spillover

start_year

First year of treatment period

unit_name

Name of treated unit (default "Treated Unit")

outcome_label

Label for outcome variable (default "Outcome")

treatment_label

Label for treatment (default "Treatment")