I have a data set with the columns:
A1,B1,C1,A2,B2,C2...., A100,B100,C100.
I want to create multiple dataframe: data1 = cbind(A1,B1,C1), data2 = cbind(A2,B2,C3)......
My Pseudo code:
For i from 1 to 100 {
Data[i]= cbind(A[i],B[i],C1[i])
}
I think using [i] to present the column is wrong.
And How could I create multiple dataframe using the loop? Thanks!