Learn R Programming

scmSpillover (version 0.1.1)

qplot_compare: Quick plot for method comparison (Spillover vs Vanilla)

Description

Quick plot for method comparison (Spillover vs Vanilla)

Usage

qplot_compare(
  result,
  start_year = NULL,
  unit_name = "Treated Unit",
  outcome_label = "Outcome"
)

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")