[R] Finding Instances of a Pattern Throughout Data Set

Hasan Diwan hasan.diwan at gmail.com
Tue Apr 3 05:42:26 CEST 2012


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 or function that will make this possible?
Many thanks! I suppose, I could do something like:
amplitude <- abs(sensorReadings[sensorReadings[,2] > 1.2 *
median(sensorReadings[,2]),])
Is this the most efficient way to do what I want or not?
-- H

-- 
Sent from my mobile device
Envoyait de mon portable



More information about the R-help mailing list