[R] Importing time series

Bogaso bogaso.christofer at gmail.com
Wed Jul 29 09:00:22 CEST 2009


I have a time series dataset, saved in a csv file. However date-formatting is
:

7/2/1982
7/6/1982
7/7/1982
7/8/1982
7/13/1982
7/14/1982

However if I use following zoo-code, it is not reading data:

read.zoo(file="F:/data.csv", format="%m/%d/%y", header=F)

Error is 
Error in read.zoo(file ="F:/data.csv", format = "%m/%d/%y",  : 
  index contains NAs

Here I have the mandate to keep date formating in abovementioned way. Can
anyone please tell me what to do here?

Regards,

-- 
View this message in context: http://www.nabble.com/Importing-time-series-tp24713580p24713580.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list