Displaying 1 result from an estimated 1 matches for "co2c13_flask".
Did you mean:
co2c13_flasks
2009 Jul 22
1
Problem with "merge" command duplicating values
...rged data, it turned out that R mysteriously duplicated thousands of
values in the merged set and I have no idea why. I've not had this problem
with merge in the past.... any thoughts?
To illustrate:
given the following objects (as data frames) with 1 unique and 10 common
variables:
h2_flasks
co2c13_flasks
co2o18_flasks
ch4_flasks
co2_flasks
co_flasks
n2o_flasks
co2c14_flasks
#Merge objects into one data frame ("grand merge"):
>obj.list <- ls(pattern='flasks')
>grand.merge<-merge(get(obj.list[1]),get(obj.list[2]),all=TRUE)
>for (ss in 3:length(obj.list)){
grand....