A small example object from data_preparation used in examples. It is created with the following code:
Details
dat <- trial_example[trial_example$id < 200, ]
te_data_ex <- data_preparation(
data = dat,
outcome_cov = c("nvarA", "catvarA"),
first_period = 260,
last_period = 280
)