Displaying 1 result from an estimated 1 matches for "mrunoff_207106".
Did you mean:
mrunoff_207101
2011 Jan 17
2
Summing data frame columns on identical data
....data.frame(mrunoff_207101[3], mrunoff_207102[3]) :
? + only defined for equally-sized data frames".
Here is what I'm attempting to do:
> arunoff_2071 <- cbind(mrunoff_207101[1:2], (mrunoff_207101[3] + mrunoff_207102[3] + mrunoff_207103[3] + mrunoff_207104[3] + mrunoff_207105[3] + mrunoff_207106[3] + mrunoff_207107[3] + mrunoff_207108[3] + mrunoff_207109[3]))
Is there an easy way of summing based on congruent values in columns 1 and 2? The only way I can think of would be to use merge, but this would involve doing this for every pair of data frames.
The data for each data frame look lik...