panel_treat_plot: plot binary treatment status for time series for panel...

View source: R/plotUtils.R

panel_treat_plotR Documentation

plot binary treatment status for time series for panel dataset

Description

plot binary treatment status for time series for panel dataset

Usage

panel_treat_plot(data, time, id, status)

Arguments

data

dataframe

time

bare name of time (not in quotes)

id

bare name of unit

status

bare name of treatment

Examples

## Not run: 
panel_treat_plot(california_prop99, Year, State, treated)

## End(Not run)


apoorvalal/LalRUtils documentation built on Sept. 22, 2023, 5:53 p.m.