Wang, Kevin (SYD) wrote:
Hi,
I've got a bunch of datasets (each has an "ID" column) that I'd like to
merge into one big datasets.
After a google search I found
http://tolstoy.newcastle.edu.au/R/help/05/08/11131.html . However, I'm
wondering if there is an easy way to do this as I've got about 12
datasets to be merged (all in the same format: an "ID" column and a
"Frequency" column")? Also, as I'm expecting more individual datasets
to come in, I'm trying to automate my code so I don't have to keep
manually adding in datasets into the merge() function.
Any suggestions would be greatly appreciated.
Try combining with ?Reduce, I think that should work. Some package has/had a
merge.all or merge_all function at some point, too.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.