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]]

