powered by
A toy dataset with cluster, period, and individual records for illustrating estimands in stepped wedge CRT with a binary outcome.
data(sw_b)
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 (0/1, binary).
data(sw_b) head(sw_b)
Run the code above in your browser using DataLab