#or
join(DF3,DF2,type="right")
Hope this helps
A.K.
- Original Message -
From: jeff6868
To: r-help@r-project.org
Cc:
Sent: Wednesday, July 18, 2012 4:21 AM
Subject: [R] duplicate data between two data frames according to row names
Hi everybody.
I'll first explain my p
"merge" is enough for me, thanks!
I was thinking about a loop, or a function like "grep", or maybe another
function.
I'll have to think easier next time!
Thanks again!
--
View this message in context:
http://r.789695.n4.nabble.com/duplicate-data-between-two-data-frames-according-to-row-names-tp4
Hi Jeff,
looks like a job for ?rbind and ?merge
merge(rbind(DF1,DF2),DF3)
hth
Am 18.07.2012 10:21, schrieb jeff6868:
> Hi everybody.
>
> I'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 o
Hi everybody.
I'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","ST00
4 matches
Mail list logo