Displaying 1 result from an estimated 1 matches for "tp3830922p3831611".
2011 Sep 21
2
Weighted Average on More than One Variable in Data Frame
Dear R Users,
I have looked for a solution to the following problem and I have not been
able to find it on the archive, through Google or in the R documentation.
I have a data frame, say df, which has 4 variables, one of which I would
like to use as a grouping variable (g), another one that I would like to use
for my weights (w) The other two variables are variables (x1 and x2) for
which I would