I have a matrix with 8 column and 250 raw. I need to create a function that read the first two column and and analyze the combination of this two value. For Example the matrix is
A|B|…
A|C|…
C|A|…
A|C|…
C|A|…
and I would like to have as output the single value pairs and the repetitions number . For example : A|B|1
A|C|2
C|A|2…
Could you help me please?
Best Answer