View source: R/utility_functions.R
Generate block randomized treatment label based on covariates matrix
1 | randomize_trt(cov_mat=cov_mat,blocksize=blocksize,trtHR=trtHR,rand_ratio=c(1,1))
|
cov_mat |
Covariates matrix. |
blocksize |
Randomization block size |
trtHR |
Hazard ratio between treatment arms. |
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.