Re: [R] Finding Instances of a Pattern Throughout Data Set

2012-04-02 Thread R. Michael Weylandt
As a purely R question though, the OP's suggested code is rather efficient, though I wouldn't be surprised if a hair more efficiency couldn't be achieved by pre-allocating the sensorReadings[,2] instead of calling it twice. Probably a speed/memory trade-off at that point. If he has enough data tha

Re: [R] Finding Instances of a Pattern Throughout Data Set

2012-04-02 Thread Hasan Diwan
Mr Gunter, On 2 April 2012 21:15, Bert Gunter wrote: > I strongly suggest you consult with a local statistician. Your > description is far too vague (to me anyway) to make any sense of and > probably requires a good deal of back and forth between you and a > competent data analyst to pin down wha

Re: [R] Finding Instances of a Pattern Throughout Data Set

2012-04-02 Thread Bert Gunter
I strongly suggest you consult with a local statistician. Your description is far too vague (to me anyway) to make any sense of and probably requires a good deal of back and forth between you and a competent data analyst to pin down what the issues and constraints are. For example, what constitutes

[R] Finding Instances of a Pattern Throughout Data Set

2012-04-02 Thread Hasan Diwan
I have approximately 2.5 million rows from a number of sensor readings. Having plotted these, I can see a given pattern (say a spike in the amplitude away from the mean). I would now like to automate this procedure as we're expecting a great deal more data in the near future. Is there any package o