extract_comb.Rd
Extract Elements in a Combination set
extract_comb(m, comb_name)
m | A combination matrix returned by |
---|---|
comb_name | The valid combination set name should be from |
It returns the combination set.
set.seed(123) lt = list(a = sample(letters, 10), b = sample(letters, 15), c = sample(letters, 20)) m = make_comb_mat(lt) extract_comb(m, "110")#> [1] "s" "n" "c" "k"