I'm really new to R and trying to solve a, for me, challenging problem.
I have a .csv file containing 22.388 rows with comma separated integers. I want to find all possible combinations of pairs of the integers for each row separately and list them pair for pair, so that I'll be able to make a visual representation of them as clusters.
I've tried installing the combinat
package for R but I can't seem to solve the problem.
An example from my file would be
2 13
2 8 6
Which should be listed in possible combinations of pairs like this.
2, 13
2, 8
2, 6
8, 6