Displaying 1 result from an estimated 1 matches for "2011,08".
2011 Feb 14
3
how to order POSIXt objects ?
...I have pasted my example data below with a
list of R commands I have used. Any help or assistance would be appreciated.
> test2 <- read.csv("C:/Documents and Settings/Jonathan Cooke/My
> Documents/Downloads/test2.csv", sep=",")
> test2
DATE TIME
1 18/01/2011 08:00:01
2 18/01/2011 08:10:01
3 18/01/2011 08:20:01
4 18/01/2011 08:30:01
5 19/01/2011 08:00:01
6 19/01/2011 08:10:01
7 19/01/2011 08:20:01
8 19/01/2011 08:30:01
> test2$mytime <- strptime(test2$TIME,"%H:%M:%S")
> test2$mytime
[1] "2011-02-14 08:00:01" "2011-02-1...