Extract Elements in a Combination set

extract_comb(m, comb_name)

Arguments

m

A combination matrix returned by make_comb_mat.

comb_name

The valid combination set name should be from comb_name.

Details

It returns the combination set.

Examples

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"