Displaying 1 result from an estimated 1 matches for "la_time_list2".
2008 Mar 06
1
can't merge zoo ojects and convert to ts (been trying for 2 days)
...datasets methods base
other attached packages:
[1] chron_2.3-21 zoo_1.4-2
loaded via a namespace (and not attached):
[1] grid_2.6.1 lattice_0.17-2 tools_2.6.1
###Import data:
ttest<-read.csv("la_time_test2.csv", header = T, as.is=TRUE);
tlist<-read.csv("la_time_list2.csv", header = T, as.is=TRUE)
####Convert to zoo:
zooreg_time<-zoo(, as.chron(strptime(tlist$a_datetime, format="%d/%m/%Y
%H"), format = c(dates = "Y-m-d ", times = "H:M:S")),frequency=8760 )
class(zooreg_time)
[1] "zooreg" "zoo"
###C...