On 08/02/2013, e-letter <inp...@gmail.com> wrote: > Readers, > > For a 12 hour time stamp: > >> testtime<-("2013-01-01 01:00:01 PM") >> testtime > [1] "2013-01-01 01:00:01 PM" >> testtime24hour<-strftime(testtime,'%H:%M:%S') >> testtime24hour > [1] "01:00:01" >
Have realised that the object is of type 'character'. When this conversion is applied to a vector and then the 'plot' function applied (i.e. plot another vector against the vector of 24-hour time series values), receive an error. How to convert the values "01:00:01" to 'ts' objects? ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.