Description Usage Arguments Value Author(s)
Returns a logical matrix with all possible 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 | all_reassignments(n, k)
|
n |
number of observations |
k |
number of observations in (e.g. treatment) group |
integer matrix of size n
x choose(n,k)
Florian Klinglmueller
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.