I have a table (df):
Class Subclass
A C
A D
B E
B F
And the results of the calculations of "C" "D" "E" "F" in separated data.frames
C (a data.frame,1 column)
D (a data.frame,1 column)
E (a data.frame,1 column)
F (a data.frame,1 column)
And I want to bind the data.frames "C" "D" to "A" and "E" "F" to B, for the sum of the group A (C,D) and B (E,F). I need to do a loop because is number of class have 70 and the subclass 20000 variables, and make this manually is too hard. I have a list with the name of "A" and the names of the subclass "C" "D" trying to bind in a data.frame but the script doesn't work
Thanks.