View source: R/enforce_lead_restrictions.R
enforce_lead_restrictions | R Documentation |
enforce_lead_restrictions check treatment and control units for treatment reversion in the lead window. Treated units must stay treated and control units must stay in control (according to the specified qoi)
enforce_lead_restrictions(
matched_sets,
ordered.data,
max.lead,
t.var,
id.var,
treatment.var
)
matched_sets |
matched.set object |
ordered.data |
parsed data as data.frame object |
max.lead |
The largest lead value (e.g. the biggest F) |
t.var |
string specifying the time variable |
id.var |
string specifying the unit id variable |
treatment.var |
string specifying the treatment variable. |
matched.set object with the matched sets that meet the conditions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.