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
3 matches
Mail list logo