When specifying an incorrect time frame,grab_signficance() throws the following error. In the example below, 1993 is the intervention time, thus the range does not include post-intervention data.
This can be replicated using the example in the readme using the following date range: smoking_out %>% grab_signficance(1970:1988).
Thanks again for pointing this bug out, Gloria! I've now added a check that ensures their are post-treatment observations when running grab_significance(). (afd112a57)
When specifying an incorrect time frame,
grab_signficance()
throws the following error. In the example below, 1993 is the intervention time, thus the range does not include post-intervention data.This can be replicated using the example in the readme using the following date range:
smoking_out %>% grab_signficance(1970:1988)
.Thanks Dr. Dunford!