I'd like to merge multiple (around ten) datasets in R. Quite a few of the datasets are different from each other, so I don't need to match them by row name or anything. I'd just like to paste them side by side, on a single dataframe so I can export them into a single sheet. For instance, I have the following two datasets:
Month | Engagement | Test |
---|---|---|
Jan | 51 | 1 |
Feb | 123 | 2 |
Variable | Engagement |
---|---|
Hot | 412 |
Cold | 4124 |
Warm | 4fd4 |
I'd simply like to put them side by side (as in left and right) in a single data frame for exporting purposes, like this:
Month | Engagement | Test | Variable | Engagement |
---|---|---|---|---|
Jan | 51 | 1 | Hot | 412 |
Feb | 123 | 2 | Cold | 4124 |
NA | NA | NA | Warm | 4fd4 |
Is there any way to accomplish this? It might seem like a strange request, but do let me know if I should provide any more info! Thank you so much.