GenerateData | R Documentation |
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 ...
GenerateData(n, end.time, abar = NULL, abar.prime = NULL)
n |
Sample size |
end.time |
Last time point |
abar |
Set intervention |
abar.prime |
Control intervention |
Returns a dataframe with simulated covariates as described in the description.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.