Your parameters to merge do not appear to be objects; they are strings, You
might want to try:
merge(x=get(paste("arunoff_",start_arunoff, sep="")), y
You might want to consider a 'list' for storing your data. Also are you
ever 'detach'ing? It is useful to find ways to avoid 'attach' (
Dear all,
I am trying to use 'merge' within a loop, however, I receive an error relating
to the 'by' argument of the command, as follows:
> merge_year <- 1986
>
> for (i in 1:10) { # Number of file pairs
+ assign(paste("merged_arunfek_", merge_year, sep=""),
merge(x=paste("arunoff_",start
2 matches
Mail list logo