The googleVis software package R software is surprisingly good. However, I am puzzled by one gvisMotionChart problem about timevar, because the time in my dataset is in POSIXlt format, for example:
"2009-07-02 19:00:00" "2009-07-02 20:00:00" "2009-07-02 21:00:00" "2009-07-02 22:00:00" "2009-07-02 23:00:00"
Since the unit of time is equal to the hour, if I convert the POSIXlt format format to the date format (using as.date), the clock information will be deleted and make the data meaningless.
So my question is: how to deal with POSIXlt time using gvisMotionChart ?
source share