sampleTimeVaryingCovariates {campsis} | R Documentation |
Sample time-varying covariates.
sampleTimeVaryingCovariates(object, armID, needsDV)
object |
time-varying covariates, data.frame form |
armID |
treatment arm ID |
needsDV |
append extra column DV, logical value |
a data.frame