Sizes of the Combination sets

comb_size(m, degree = NULL)

Arguments

m

A combination matrix returned by make_comb_mat.

degree

degree of the intersection. The value can be a vector.

Value

A vector of sizes of the combination sets.

Examples

set.seed(123) lt = list(a = sample(letters, 10), b = sample(letters, 15), c = sample(letters, 20)) m = make_comb_mat(lt) comb_size(m)
#> 010 001 110 101 011 111 #> 1 8 4 2 6 4