powered by
A toy dataset with cluster, period, and individual records for illustrating estimands in stepped wedge CRT with a continuous outcome.
data(sw_c)
A data frame with columns:
Cluster identifier (integer).
Period index (integer).
Individual identifier within cluster-period (integer).
Treatment indicator (0/1).
Auxiliary covariate (0/1).
Auxiliary covariate (numeric).
Outcome (numeric, continuous).
data(sw_c) head(sw_c)
Run the code above in your browser using DataLab