Skip to content
Prev 173478 / 398506 Next

help with loop

On 12 Mar 2009, at 13:22, Richard.Cotton at hsl.gov.uk wrote:

            
I think rowSums gives what's intended,

rowSums(diff( matrix(c(1,2,3,4,5,6),ncol=2) ))

(but i'd give heads or tails as to whether this was an  
oversimplification of the real problem )


baptiste