search for: troughput01

Displaying 2 results from an estimated 2 matches for "troughput01".

2009 Apr 15
2
shift/lag when merge zoo
Hello alltogheter, I have a little problem regarding merging to zoo series. I want to merge two zoo series to reduce the timegaps between the stamps. I use the following code: data.test <- as.POSIXct(seq(data.input01[1,1],data.input01[nrow(data.input01),1],900),tz="GMT") data.troughput01 <- as.zoo(data.input01$V2) index(data.troughput01) <- as.POSIXct(data.input01$V1,tz="GMT") data.output01 <-merge(data.troughput01,zoo(,data.test)) They look like that: head(data.test) [1] "2008-01-01 00:00:00 GMT" "2008-01-01 00:15:00 GMT" "2008-01-01 0...
2009 Mar 26
1
Sort by timestamp
...8 2 2008-10-14 08:50:00 94051.70 3 2008-10-14 08:55:00 97050.85 4 2008-10-14 09:00:00 81133.81 5 2008-10-14 09:05:00 70705.40 6 2008-10-14 09:10:00 75213.92 7 2008-10-14 09:15:00 90876.14 8 2008-10-14 09:20:00 85995.17 #Next steps are to combine them with rbind and sort duplicates out data.troughput01 <- rbind(data.input03,data.input01,data.input04,data.input02,data.input05,data.input06) data.troughput02 <- unique(data.troughput01) #The Problem is that the dates are mixed and I want to sort/order them by the date and time. #The class of the Date/time is as followed: class(data.input01$V1)...