[R] generate combination set

aiminy at iastate.edu aiminy at iastate.edu
Thu Nov 15 05:51:27 CET 2007


I have a set data={A,B,C,D,E,F,G}
I want to choose 2 letter from 8 letters, i.e. generate the combination set 
for choose 2 letters from 8 letters.
I want to get the liking:
combination set={AB,AC,AD,....}
Does anyone konw how to do in R.

thanks,

Aimin



More information about the R-help mailing list