Re: [R] complex matrix manipulation question

2006-01-11 Thread Berton Gunter
matrix manipulation question I've done stuff like this before but it's been a while and I'm stuck. Suppose I have a matrix with one column x and another column y and both are numeric and let the row index of the matrix be i Starting at index i ( i would equal on the first iteration

[R] complex matrix manipulation question

2006-01-10 Thread Mark Leeds
I've done stuff like this before but it's been a while and I'm stuck. Suppose I have a matrix with one column x and another column y and both are numeric and let the row index of the matrix be i Starting at index i ( i would equal on the first iteration ) when the cumulative sum of x_i+1 - x_i