Displaying 1 result from an estimated 1 matches for "uglyyyy".
Did you mean:
u'yyyyy
2010 Sep 21
2
multiplying values in data frame by corresponding value in the first column
...Expected result:
Observation Group Param1 Param2
AA 1 3 4
BB -1 -5 -6
group<-as.vector(table$Group)
I extracted the first column into a vector, and am looking for a way to
multiply each of the columns... SO far, only manual solutions (uglyyyy)
work: table$Param1<-group*table$Param1
Thanks many times!
Martin