I've data.frame like below:
Name Feature
A 1
B 2
C 4
D 1
E 7
F 5
G 2
H 2
I have to create from this data series of data.frames with three rows in commbinationar manner. In another words, I need to obtain
subsetted_data.frame_1
Name Feature
A 1
B 2
C 4
subsetted_data.frame_2
Name Feature
D 1
G 2
H 2
subsetted_data.frame_3
Name Feature
F 5
G 2
H 2
And so on - to finally create all possible combinations. I was tried to use split function (from data.table package), but it doesn't work. Whis is the easiest way to obtain this?