I have four dataframes, "df1, df2, df3, and df4." Each has different times values corresponding to behavioral events. I want to do the following: I would first like to load all the dataframes into R. Then I would like to add a column using the mutate function with the specific dataframe (e.g. 1, 2, 3, or 4) to each dataframe. Finally, I would like to combine all the frames, after adding an individualized column to each, into one big dataframe so that I can perform other operations on this new dataframe.
The purpose of creating the new columns for each dataframe before combining them all into one, is so that I can refer back to the individual dataframes when I need to.
I hope this makes sense. Cheers.