Displaying 1 result from an estimated 1 matches for "st004".
Did you mean:
t004
2012 Jul 18
2
duplicate data between two data frames according to row names
...ll first explain my problem and what I'm trying to do.
Admit this example:
I'm working on 5 different weather stations.
I have first in one file 3 of these 5 weather stations, containing their
data. Here's an example of this file:
DF1 <- data.frame(station=c("ST001","ST004","ST005"),data=c(5,2,8))
And my two other stations in this other data.frame:
DF2 <- data.frame(station=c("ST002","ST003"),data=c(3,7))
I would like to add geographical coordinates of these weather stations
inside these two data.frames, according to the numbe...