[R] multiplying values in data frame by corresponding value in the first column

Martin Tomko martin.tomko at geo.uzh.ch
Tue Sep 21 23:19:19 CEST 2010


Thank you Marc, that was an elegant solution, works perfectly!
Martin

On 9/21/2010 10:24 PM, Marc Schwartz wrote:
> DF[, -c(1:2)]<- DF[, -c(1:2)] * DF$Group
>



More information about the R-help mailing list