View source: R/utility_functions.R
Generate block randomized treatment label based on covariates matrix for two arm trial.
1 | randomize_trt2(cov_mat=cov_mat,blocksize=blocksize,rand_ratio=c(1,1))
|
cov_mat |
Covariates matrix. |
blocksize |
Randomization block size |
rand_ratio |
Randomization ratio between control and treatment |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.