sampleTimeVaryingCovariates: Sample time-varying covariates.

View source: R/covariate.R

sampleTimeVaryingCovariatesR Documentation

Sample time-varying covariates.

Description

Sample time-varying covariates.

Usage

sampleTimeVaryingCovariates(object, armID, needsDV)

Arguments

object

time-varying covariates, data.frame form

armID

treatment arm ID

needsDV

append extra column DV, logical value

Value

a data.frame


campsis documentation built on Oct. 13, 2023, 5:09 p.m.