search for: datetime4

Displaying 1 result from an estimated 1 matches for "datetime4".

Did you mean: datetime
2011 Feb 02
0
Need help subsetting time series data
...;datetime<-paste(MR1001$date,MR1001$time) >datetime<-as.POSIXct(strptime(as.character(datetime), tz="UTC", "%m/%d%Y %H:%M:%S")) >datetime2<-datetime[-1] >datetime2[length(datetime)]<-datetime2[length(datetime)-1]+3600 >datetime3<-datetime2-datetime >datetime4<-datetime3/60 >datetime5<-as.numeric(datetime4) >t1$diff<-datetime5 This didn't work either though, because when an unwanted fix occurred after a wanted fix the value in the "diff" column was small, and I couldn't figure out how to subset the data in that format (I...