did_panel_plot: generate a DiD panel plot

View source: R/did_panel_plot.R

did_panel_plotR Documentation

generate a DiD panel plot

Description

generate a DiD panel plot

Usage

did_panel_plot(data, unit, year, group, treat)

Arguments

data

A df of DiD panel data with unit, group, year and treatment status indicators

unit

character vector specifying the name of the unit variable

year

character vector specifying the name of the year variable

group

character vector specifying the name of the group variable

treat

character vector specifying the name of the treatment variable

Value

a ggplot object


till-tietz/DiDsim documentation built on Feb. 25, 2023, 10:06 p.m.