标签: r split
我有以下数据框:
col1 1 2 3 1 2 3 4 1 2
我想将每1个值的数据拆分为:
data1
col1 1 2 3
data2
col1 1 2 3 4
和data3
col1 1 2
你有办法吗?