and this should be in the documentation somewhere. Note that there is no easy way to generalize to "list all the ways of choosing a chair, two deputies, and three workers from a pool of six" [apply(setparts(1:3)==1,2,function(x){letters[which(x)]}) lists only the workers]..
This question is surprisingly difficult to answer with the package. The best I can do is:
and this should be in the documentation somewhere. Note that there is no easy way to generalize to "list all the ways of choosing a chair, two deputies, and three workers from a pool of six" [
apply(setparts(1:3)==1,2,function(x){letters[which(x)]})
lists only the workers]..