View source: R/complete_randomization_and_blocking.R
| imbalanced_complete_randomization | R Documentation |
For debugging, you can use set.seed
to be assured of deterministic output.
imbalanced_complete_randomization(n, prop_T, r, form = "one_zero", seed = NULL)
n |
number of observations |
prop_T |
the proportion of treatments needed |
r |
number of randomized designs you would like |
form |
Which form should it be in? The default is |
seed |
An integer which is the seed to be set within C++. Default is |
a matrix where each column is one of the r designs
Adam Kapelner
## Not run:
imbalanced_complete_randomization(n = 10, prop_T = 0.3, r = 2, seed = 1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.