Description Usage Arguments Value Author(s)
Returns a logical matrix with B random assignments (e.g. of patients) of n
objects to two groups (e.g. treatment and control) given that k
objects are in one group
1 | random_reassignments(n, k, B)
|
n |
number of observations |
k |
number of observations in (e.g. treatment) group |
B |
number of random combinations |
integer matrix of size n
x B
Florian Klinglmueller
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.