Re: [R] loop problem

2009-10-02 Thread crenial30
ive integer so that I can draw the list on 300(secs) interval. Any suggestion would be very much helpful. crenial crenial30 wrote: > > I have the following code which I wanted to convert using for loop > > previous code: > R_ev1 <- R_event[R_event > (rx[1] + 300*0)&

[R] loop problem

2009-09-29 Thread crenial30
I have the following code which I wanted to convert using for loop previous code: R_ev1 <- R_event[R_event > (rx[1] + 300*0)& R_event <= (rx[1] + 300*1)] R_ev2 <- R_event[R_event > (rx[1] + 300*1)& R_event <= (rx[1] + 300*2)] R_ev3 <- R_event[R_event > (rx[1] + 300*2)& R_event <= (rx[1] + 300*3)]