View source: R/subgroup_search.R
| get_combinations_info | R Documentation |
Generates all possible combinations of subgroup factors up to a specified maximum size.
get_combinations_info(L, maxk)
L |
Integer. Number of subgroup factors. |
maxk |
Integer. Maximum number of factors in a combination. |
List with max_count (total combinations) and indices_list (indices for each k).
# L=6 single-factor subgroups, combinations up to 2 factors
info <- get_combinations_info(L = 6, maxk = 2)
info$max_count # total number of combinations
length(info$indices_list)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.