Heiman, Thomas J. <theiman <at> mitre.org> writes: > tmp <- read.table("baltimore.csv", sep = " ") ##This is timeseries 2 > z <- zoo(tmp[, 2:20], as.Date(as.character(tmp[, 1]), format = "%y %m %d")) > > tmp1 <- read.table("baltimorefludata.csv", sep = " ") ##This is timeseries 1 > z2 <- zoo(tmp[,2], as.Date(tmp[, 1]), format = "%m %d %y")) >
I think you need format="%m/%d/%Y" ______________________________________________ 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.