p-boun...@r-project.org] On Behalf Of Sean M. Lucey
Sent: Thursday, 21 January 2010 9:20 a.m.
To: r-help@r-project.org
Subject: [R] Merge and join data
Hi,
I'm looking to combine two data frames. Several of the
columns are in common while the others need to be summed up.
The apply functi
Specifically, your setup of the data makes all the columns factors, so to
make Peter's code work you need to make the relevant columns numeric first.
--
View this message in context:
http://n4.nabble.com/Merge-and-join-data-tp1018729p1025642.html
Sent from the R help mailing list archive at Nabb
. Lucey
> Sent: Thursday, 21 January 2010 9:20 a.m.
> To: r-help@r-project.org
> Subject: [R] Merge and join data
>
> Hi,
>
> I'm looking to combine two data frames. Several of the
> columns are in common while the others need to be summed up.
> The apply funct
Hi,
I'm looking to combine two data frames. Several of the columns are in
common while the others need to be summed up. The apply functions and
the merge functions don't seem to be working. I've included a basic
example of what I'm trying to do below. Thanks!
Sean
data.frame1<-as.data.
4 matches
Mail list logo