Description Usage Arguments Details Value Author(s)
Returns all possible assignments to two groups stratified by stages.
1 | strat_reassignments(ns, ks, restricted = TRUE, B = NULL)
|
ns |
vector of number of observations per stage |
ks |
vector of number of observations in group (e.g. treatment) per stage |
restricted |
|
B |
number of assignments |
Number of observations ns
and observations from one group ks
will be recycled to match the longer argument.
logical matrix of dimension sum(ns)
\times prod(choose(ns,ks))
Florian Klinglmueller
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.