[R] weighed mean of a data frame row-by-row

Vassilis vdimitrakas at gmail.com
Fri Jan 7 11:37:59 CET 2011


Thanks for the help guys! For my purpose I think that rharlow2's answer, i.e.
the `rowSums' function is the most appropriate since it also takes care of
the NAs. 

Best, 

Vassilis
-- 
View this message in context: http://r.789695.n4.nabble.com/weighed-mean-of-a-data-frame-row-by-row-tp3177421p3178912.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list