[R] Combinations

Amir adarehsh at uottawa.ca
Fri Mar 15 14:22:15 CET 2013


Hi every one,

I have two sets T1={c1,c2,..,cn} and T2={k1,k2,...,kn}.
How can I find the sets as follow:

(c1,k1), (c1,k2) ...(c1,kn)  (c2,k1) (c2,k2) .... (c2,kn) ... (cn,kn)

Thanks.
Amir

-- 
__________________________________________________________________________
  Amir Darehshoorzadeh             |  Computer Engineering Department
  PostDoc Fellow                   |  University of Ottawa, PARADISE LAb
  Email: adarehsh at uottawa.ca       |  800 King Edward Ave
  Tel: -                           |  ON K1N 6N5, Ottawa - CANADA
  http://personals.ac.upc.edu/amir



More information about the R-help mailing list