check_staggered | R Documentation |
A function to check if treatment is staggered in a panel data set.
check_staggered(df, idname, treatname)
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 |
a logical indicating whether treatment is staggered
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.