View source: R/permute_subgroups.R
find_possible_block_allocations | R Documentation |
Internal function to generate possible subgroup combinations that add up to specific levels of an allocation variable
find_possible_block_allocations(
block_sizes,
group_nums,
fullTree = FALSE,
maxCalls = 1e+06
)
block_sizes |
(Integer) vector of sizes of the various subgroups that can be combined to form groups |
group_nums |
Vector of sizes of the different groups to be formed |
fullTree |
Boolean: Enforce full search of the possibility tree, independent of the value of |
maxCalls |
Maximum number of recursive calls in the search tree, to avoid long run times with very large trees |
List of possible allocations; Each allocation is an integer vector of allocation levels that are assigned in that order to the subgroups with sizes given by block sizes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.