Hello Iris,
Thanks for help!
ok so i have the time data with 201 columns and 100000. For example it includes 6 sensors and some sort of PositionSequence column.
Time_Stamp Sensor1 Sensor2 Sensor3 Sensor4...PosSeq
02.01.2015 11:59 0,015 0,015 0,020 0,021 0
02.01.2015 12:00 0,015 0,015 0,020 0,021 0
02.01.2015 12:02 0,015 0,015 0,020 0,021 0
02.01.2015 12:04 0,015 0,015 0,020 0,021 0
02.01.2015 12:06 0,015 0,015 0,020 0,021 0
02.01.2015 12:08 0,015 0,015 0,020 0,021 0
02.01.2015 12:10 0,015 0,015 0,020 0,021 0
02.01.2015 12:12 0,015 0,015 0,020 0,021 0
02.01.2015 12:14 0,015 0,015 0,020 0,021 0
02.01.2015 12:16 0,015 0,015 0,020 0,021 1
02.01.2015 12:18 0,015 0,015 0,020 0,021 1
02.01.2015 12:20 0,015 0,015 0,020 0,021 1
02.01.2015 12:22 0,015 0,015 0,020 0,021 1
02.01.2015 12:24 0,015 0,015 0,020 0,021 2
02.01.2015 12:26 0,015 0,015 0,020 0,021 2 ....
I need to delete from Time_Stamp +/- 5 mins when the PosSeq begin 0.
So for example with the above data i need to filter only those 4 rows:
Time_Stamp Sensor1 Sensor2 Sensor3 Sensor4...PosSeq
02.01.2015 11:59 0,015 0,015 0,020 0,021 0
02.01.2015 12:00 0,015 0,015 0,020 0,021 0
02.01.2015 12:02 0,015 0,015 0,020 0,021 0
02.01.2015 12:04 0,015 0,015 0,020 0,021 0
and the rest of PosSeq 0 should stay. Is there any way to filter my data in this way?
I would really apprecieate Your help!
Cheers
Malvina
I am not yet that fit with R, thats why it can be bit problematic for me.