On 12/06/14 00:17, Pat-74100 wrote:
Hi

I have a matrix with values of size 1*500  i have to find the avg
value of first 1 to 100 ,avg value of 100 - 200 and so on up to 400-500.
  is there any function to find the average of 1 -100 and 100 - 200, 200 -
  300,300 - 400,400 - 500 ??

This looks very much like homework. The r-help list has a "no homework" policy. Do your own homework. That way you might actually learn something!

cheers,

Rolf Turner

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to