Build synthetic ADSL / ADTTE fixtures for TTE demos and tests
Source:R/synthetic_data.R
make_synthetic_ttni_data.RdReturns a subject-level ADSL and a BDS-style ADTTE with two parameters:
TTNI (time to next intervention) and OS (overall survival). The two
data frames are distinct objects.
Usage
make_synthetic_ttni_data(
design = c("two_arm", "multi_arm"),
n_per_arm = 40L,
seed = 20260823L
)