te_data-class function

TrialEmulation Data Class

class

TrialEmulation Data Class

Slots

  • data: A data.table object with columns "id", "period", "treatment", "outcome", "eligible"