Description Usage Arguments Examples
View source: R/utility_functions.R
Block randomization
1 | self_blockrand(N=N,trt_levels=trt_levels,blocksize=blocksize,rand_ratio=rand_ratio)
|
N |
Total number of patients |
trt_levels |
treatment levels in vector. for example, c(0,1) for control vs treatment trial. |
blocksize |
Randomization block size |
rand_ratio |
Randomization ratio between control and treatment |
1 | self_blockrand(N=100,trt_levels=c(0,1),blocksize=2,rand_ratio=c(1,1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.