Displaying 1 result from an estimated 1 matches for "arun_1986".
2009 May 01
1
Problems with 'valid columns' when using merge
...sort=FALSE))
+ attach(paste("merged_arunfek_", merge_year))
+ merge_year = merge_year+1
+ }
Error in fix.by(by.x, x) : 'by' must specify valid column(s)
However, as far as I can tell, the column names (as stated in the above code) appear to be valid:
> colnames(arun_1986)
[1] "Latitude" "Longitude" "Sim_1986"
> colnames(fekete_1986)
[1] "Latitude" "Longitude" "X1986"
I'm trying to merge based on both the Latitude and Longitude column and have used by=c("name_x", "name_y") be...