vignette_switch_data dataset

Example of expanded longitudinal data for sequential trial emulation

  • Maintainer: Isaac Gravestock
  • License: Apache License (>= 2)
  • Last published: 2026-01-14

About the dataset

  • Number of rows: 1939053
  • Number of columns: 13
  • Class: data.frame

Column names and types (First 10)

  • id:integer
  • trial_period:integer
  • followup_time:integer
  • outcome:numeric
  • weight:numeric
  • treatment:integer
  • catvarA:integer
  • catvarB:integer
  • catvarC:integer
  • nvarA:integer