[R] remove rows ??

skan juanpide at gmail.com
Tue Aug 17 15:02:06 CEST 2010


Hello

I have a file with this format

2005-01-03 09:05      0.00
2005-01-03 09:10      0.01
2005-01-03 09:15      0.02
2005-01-03 09:20      0.03
2005-01-03 09:25      0.04
2005-01-03 09:30      0.05
2005-01-03 09:35      0.06
2005-01-03 09:40      0.07
2005-01-03 09:45      0.08
2005-01-03 09:50      0.09
2005-01-03 09:55      0.10
2005-01-03 10:00      0.00
2005-01-03 10:05      0.00
....
some data may be missing


And I need to keep just the rows with time multiple of 15sec
2005-01-03 09:15      0.02
2005-01-03 09:30      0.05
2005-01-03 09:45      0.08
2005-01-03 10:00      0.00
.......


How can I do it?

thanks
-- 
View this message in context: http://r.789695.n4.nabble.com/remove-rows-tp2328312p2328312.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list