Hi,
I have 15 variables in a data frame. Of these I want to make data frames that consists of two variables in each frame, for all pairwise combinations of variables. I have not found a way to do that. Would be happy if I could get a clue...
I have tried using the combn() function, but it only combines the names of the variables.
Many thanks!