Tag: Weighted mean by group in R