[R] making a counter of consecitive positive cases in time series

2007-04-12 Thread Jose Bustos Melo
Hi all..RCounters! I´m working with standarized time series, and i need make a counter of consecutives positves numbers to make a cumulative experimental funtion. I have x: the time series (0,1) and y: my counter, i have this for step. What is wrong?.. any can help me please!

Re: [R] making a counter of consecitive positive cases in time series

2007-04-12 Thread Marc Schwartz
On Thu, 2007-04-12 at 22:30 +0200, Jose Bustos Melo wrote: Hi all..RCounters! Im working with standarized time series, and i need make a counter of consecutives positves numbers to make a cumulative experimental funtion. I have x: the time series (0,1) and y: my counter, i have this