View source: R/complete_randomization.R
imbalanced_block_designs | R Documentation |
For debugging, you can use set.seed
to be assured of deterministic output. The following quantities
in this design must be integer valued or an error will be thrown:
n_B := n / B and n_B * prop_T
imbalanced_block_designs(n, prop_T, B, r, form = "one_zero")
n |
number of observations |
prop_T |
the proportion of treatments needed |
B |
the number of blocks |
r |
number of randomized designs you would like |
form |
Which form should it be in? The default is |
a matrix where each column is one of the r
designs
Adam Kapelner
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.