View source: R/simulateFunctions.R
Function to simulate data with treatment assignments from Covariate Adaptive Randomization Scheme
1 2 | simulatedata.car(mean.s, sigma = 1, tau1 = 1, tau2 = 1, treat,
covValues, data = NULL, dist, inspection)
|
mean.s |
Mean of the short term response |
sigma |
sigma in bivariate normal distribution |
tau1 |
Tau1 is the weight on the first covariate |
tau2 |
Tau2 is the weight on the second covariate |
treat |
List containing the treatment assignments and the base matrix |
covValues |
covValues is the dummy variable matrix from the covariate values |
data |
Is the data from the previous analysis if applicable. The default is NULL |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.