Re: [R] missing date and time intervals in data frame

2010-03-04 Thread Gabor Grothendieck
Try this: Lines <- "Date,Time,Camera,Volume 57,2009-10-09,5:00:00 PM,MANBRIN_RIVER_NB,210 58,2009-10-09,5:10:00 PM,MANBRIN_RIVER_NB,207 59,2009-10-09,5:20:00 PM,MANBRIN_RIVER_NB,250 60,2009-10-09,5:30:00 PM,MANBRIN_RIVER_NB,193 61,2009-10-09,5:40:00 PM,MANBRIN_RIVER_NB,205 62,2009-10-09,6:00:00 P

Re: [R] missing date and time intervals in data frame

2010-03-04 Thread David Winsemius
On Mar 4, 2010, at 4:45 PM, Kindra Martinenko wrote: I posted a similar question, but feel it needs a bit more elaboration. I have a data frame (read from a csv file) that may have missing rows. Each day has 7 time intervals associated with it, with a range from 17:00 hrs to 18:00 hrs in

[R] missing date and time intervals in data frame

2010-03-04 Thread Kindra Martinenko
I posted a similar question, but feel it needs a bit more elaboration. I have a data frame (read from a csv file) that may have missing rows. Each day has 7 time intervals associated with it, with a range from 17:00 hrs to 18:00 hrs in 10 minute bins. What I am looking for is a script that will