Re: [R] mean calculation within dataframe corrupted

2010-06-01 Thread Joshua Wiley
Hello, I was hunting for something else and came across your old message, and I noticed that it had never received an answer (at least on the list). I really tried to figure out what might be going on just by looking at your code, but I could not get enough information from your email and your co

[R] mean calculation within dataframe corrupted

2010-02-10 Thread Chaehan So
Dear R-helpers, my little function below calculates the group score (tmpGroupMean) of an item, appends a "_mean" on its name and stores its value on this name. However, it does not calculate the mean of these scores (LVMean) in the same row correctly, as you can see in the below output which stran