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 Sept. 11, 2024, 7:18 p.m.