te_outcome_data-class function

TrialEmulation Outcome Data Class

class

TrialEmulation Outcome Data Class

Slots

  • data: A data.table object with columns "id", "period",
  • n_rows: Number of rows
  • n_ids: Number of IDs
  • periods: Vector of periods "treatment", "outcome", "eligible"