Description Usage Arguments Value
Finds the lowest feasible tolerance in each time period from most recent to oldest, holding the previous times fixed
1 2 | lexical_time(outcomes, metadata, trt_unit = 1, by = 0.1, cols = list(unit
= "unit", time = "time", outcome = "outcome", treated = "treated"))
|
outcomes |
Tidy dataframe with the outcomes and meta data |
metadata |
Dataframe of metadata |
trt_unit |
Unit that is treated (target for regression), default: 0 |
by |
Step size for tolerances to dry, default: 0.1 * magnitude |
cols |
Column names corresponding to the units, time variable, outcome, and treated indicator |
List with lowest tolerances lexically
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.