Hi List,

I've got a count matrix like this:      


                  [-11.9,-11] (-11,-10.2] (-10.2,-9.3] (-9.3,-8.44]
[-11.9,-10.6]            0           0            0            0
(-10.6,-9.3]             0           0            0            0
(-9.3,-8.01]             0           0            0            0
(-8.01,-6.73]            0           0            0            0

I want to manipulate the matrix by taking the average of each range, eg. 
[-11.9,-11] as (-11.9-11)/2. I've tried R introduction and site search, but not 
able to find information relevant.

Thanks!

Jen

        [[alternative HTML version deleted]]

______________________________________________
[email protected] 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