comb_name.Rd
Names of the Combination sets
comb_name(m)
m | A combination matrix returned by |
---|
The name of the combination sets are formatted as a string
of binary bits. E.g. for three sets of "a", "b", "c", the combination
set with name "101" corresponds to select set a, not select set b
and select set c. The definition of "select" depends on the value of
mode
from make_comb_mat
.
A vector of names of the combination sets.
set.seed(123) lt = list(a = sample(letters, 10), b = sample(letters, 15), c = sample(letters, 20)) m = make_comb_mat(lt) comb_name(m)#> [1] "010" "001" "110" "101" "011" "111"