Merge time-varying covariates into a single data frame. This last data frame will be merged afterwards with all treatment and observation rows.
mergeTimeVaryingCovariates(covariates, ids_within_arm, arm_offset)
covariates
: covariates, only time-varying covariates will be extractedids_within_arm
: ids within the current arm being sampledarm_offset
: arm offset (in term of ID's)a data.frame
Useful links