Skip to content
Prev 327252 / 398503 Next

weighted average

On Jul 22, 2013, at 3:23 PM, David Winsemius wrote:

            
If you are using weighted.mean and want this applied by row (one row per student I guess) , then probably this would be better:

Master$zGPA <-  apply( Master[,2:10],  1, weighted.means, w=Units)