comb_degree.Rd
Degrees of the Combination sets
comb_degree(m)
m | A combination matrix returned by |
---|
The degree for a combination set is the number of sets that are selected.
A vector of degrees 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_degree(m)#> 010 001 110 101 011 111 #> 1 1 2 2 2 3