Dear all,
I have this dataset:
and i want to create all possible variable-pairs combinations in order to get this:
My initial thought was to use fillin. However, fillin will create a 3*4 dataset but I want a 4*4.
Thank you in advance for the suggestions.
Regards,
Nikos
I have this dataset:
Code:
clear input str1(var1 var2) "A" "B" "A" "C" "B" "A" "C" "D" end
Code:
clear input str1(var1 var2) "A" "A" "A" "B" "A" "C" "A" "D" "B" "A" "B" "B" "B" "C" "B" "D" "C" "A" "C" "B" "C" "C" "C" "D" "D" "A" "D" "B" "D" "C" "D" "D" end
Thank you in advance for the suggestions.
Regards,
Nikos

Comment