Maybe with a larger sample of your dataset, 'info'.
merge should spread the average to all matching HTm, and with fake data it
does.
Rui Barradas
Daniel_55 wrote
>
> When I tried doing that, it only merged the averages from column 1 — ARI —
> and did not spread the averages for ARI, ATL, BAL. A
Hello,
Maybe
merge(five, fiveINFO[, c("HTm", "average")])
Hope this helps,
Rui Barradas
Daniel_55 wrote
>
> Hello,
>
> I am working with two different data frames, and I'd like to move data
> from one to the other. Here is the first frame:
>
>> head(five)
> Week Game.ID VTm V
When I tried doing that, it only merged the averages from column 1 — ARI —
and did not spread the averages for ARI, ATL, BAL. Any ideas on how I could
keep it from making all of the HTms ARI and all of the averages 19.4375?
--
View this message in context:
http://r.789695.n4.nabble.com/moving-da
Hello,
I am working with two different data frames, and I'd like to move data from
one to the other. Here is the first frame:
> head(five)
Week Game.ID VTm VPts HTm HPts HDifferential VDifferential
11 NFL_20050908_OAK@NE OAK 20 NE 3010 -10
21 NFL
4 matches
Mail list logo