Yes, average is the sum of elements divided by the number of elements. Exp: x1=10, x2=20, x3=30, x4=10. then the average is 10+20+30+10.. 4. => 17.5. Average
http://wiki.answers.com/Q/What_the_average_the_sum...

Maybe this could be useful # Creating your array, I know this is an ugly way to do it :D Array < array(rep(NA, 16*3), dim=c(4,4,3)) Array[2,1,1] < 0.5 Array[2:3,1,2] <
http://stackoverflow.com/questions/11608900/multi...

If I'm not totally mistaken, one could calculate the avg(n+1) also this way: avg(n+1) = (a[1]+ ... + a[n+1]) / (n+1) = = (a[1]+ ... + a[n])/(n+1) + a[n+1]/(n+1) = = (n(a[1]+ ... +
http://stackoverflow.com/questions/2956098/averagi...

The mean.
http://wiki.answers.com/Q/What_is_the_average_calc...
