search for: whichcomb

Displaying 1 result from an estimated 1 matches for "whichcomb".

2008 Aug 31
4
give all combinations
Hello,   is there a simple way to give all combinations for a given vector:   v<-c("a","b","c")   combination(v,v) becomes "aa","ab","ac","bb","bc","cc'   combination(v,v,v) becomes "aaa","aab","aac","abb",......     [[alternative HTML version deleted]]