GenerateData: GenerateData

View source: R/GenerateData.R

GenerateDataR Documentation

GenerateData

Description

Simulate longitudinal data as specified in the description. Note that the data is of the following format: O=W1 W2 C1 A1 LA1 Z1 LZ1 Y1 C2 A2 LA2 Z2 LZ2 Y2 ...

Usage

GenerateData(n, end.time, abar = NULL, abar.prime = NULL)

Arguments

n

Sample size

end.time

Last time point

abar

Set intervention

abar.prime

Control intervention

Value

Returns a dataframe with simulated covariates as described in the description.


podTockom/medltmle documentation built on Aug. 9, 2022, 9:32 a.m.