I have the following data frame in R:
ID col1
1 10
2 40
3 5
4 33
5 37
6 2
7 102
8 11
9 76
I'd like to get a set of data frames from this by partitioning where the rule for the partitioning is that: split where col1<10
(and omit rows where col1<10
, albeit this could be done later, of course). So the requested output:
df1:
ID col1
1 10
2 40
df2:
ID col1
1 33
2 37
df3:
ID col1
1 102
2 11
3 76
Thank you for any insight.