Tag: Weighted average by group in R