Displaying 1 result from an estimated 1 matches for "ts_t1t2_posixlt".
2012 Mar 26
0
filter and merge 2 big Df's by=t_chr in sec.
...solve that problem:
filter and merge 2 big Df's by=t_chr in sec.
require(zoo)
t1="2012-03-25 17:00:00.0"
t2="2012-03-25 17:00:05.0"
t1_POSIXlt<-strptime(t1, "%Y-%m-%d %H:%M:%OS")#
t2_POSIXlt<-strptime(t2, "%Y-%m-%d %H:%M:%OS")#
# ts_t1t2_POSIXlt<-seq(t1_POSIXlt,t2_POSIXlt,length.out =-1+2*length(seq(t1_POSIXlt,t2_POSIXlt, "sec") ) )
ts_t1t2_POSIXlt<-seq(t1_POSIXlt,t2_POSIXlt,length.out =length(seq(t1_POSIXlt,t2_POSIXlt, "sec") ) )
t_ts_t1t2_chr<-as.character(format(ts_t1t2_POSIXlt,"%Y-%m-%d %H:%M:%OS&q...