Hi,
I ran into an error, when I tried to create a time series with zoo package. I have a csv file, with values like this.
Date,Open,High,Low,Close,Volume
7-Oct-16,173.65,175.30,170.45,173.60,44266097
6-Oct-16,173.00,175.35,173.00,174.25,41362124
...
barc<-read.zoo("barc2.csv",sep=",", header=TRUE, format = "%d-%b-%y")
I try to use this code, however I recive an error, that index has bad entries at every row. I do not understand what is the source of the error. The dates are in the frist place, which should be used as the index.
Thanks