[R] Average value in a particular range of a matrix
Rolf Turner
r.turner at auckland.ac.nz
Thu Jun 12 06:02:43 CEST 2014
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
More information about the R-help
mailing list