check_staggered: check_staggered

View source: R/BMisc.R

check_staggeredR Documentation

check_staggered

Description

A function to check if treatment is staggered in a panel data set.

Usage

check_staggered(df, idname, treatname)

Arguments

df

the data.frame used in the function

idname

name of column that holds the unit id

treatname

name of column with the treatment indicator

Value

a logical indicating whether treatment is staggered


bcallaway11/BMisc documentation built on Jan. 12, 2025, 9:11 a.m.