search for: x3means

Displaying 1 result from an estimated 1 matches for "x3means".

Did you mean: means
2009 Mar 31
5
Using apply to get group means
Hi all, I'm trying to improve my R skills and make my programming more efficient and succinct. I can solve the following question, but wonder if there's a better way to do it: I'm trying to calculate mean by several variables and then put this back into the original data set as a new variable. For example, if I were measuring weight, I might want to have each individual's