I have a list of data frames. All data frames in the list have the same variables. I have another data frame out side of the list. This data frame also has the same variables. How do I combine the data frame that are not in the list with all the individual data frames in the list?
Example:
In the list my_list there is some data frames df1, df2, df3 etc.
Not in the list there is another data frame dfX. All the data frames have the same variables. How do I combine dfX to all the df's in my_list. dfX should copied and added to all the data frames in my_list.
I suppose I need a for loop and rbind, but I can't seem to get it right. I'm not used to working with lists (and quite new to R in general). Can anyone please help me?