Hi All,
I am looking for the exact same solution for times as for dates found in the
thread located here
http://www.mail-archive.com/r-help@r-project.org/msg84833.html
What I need is to merge specified data frame of seven 10 minute intervals
between 5:00 PM (17:00) and 6:00 PM (18:00)
5:00:00 PM
5:10:00 PM
5:20:00 PM
5:30:00 PM
5:40:00 PM
5:50:00 PM
6:00:00 PM
So the end result is that any value missing for a time interval will be
listed as "NA" instead of the time interval being omitted completely.
I attempted the as.timeSeries function but it tells me no such function
exists? And I have no clue what the proper syntax should be to designate
the 10-minute intervals?
Here's my go at it, which results in failure:
times <- data.frame(Time = seq(as.timeSeries('17:00:00'), by
'minutes', length 7))
Many thanks in Advance,
Kindra
[[alternative HTML version deleted]]