Hi all,

I have following monthly time series :

> head(data1)
      V1 V2      V3
1 Nov-80 NA 1007.44
2 Dec-80 NA  982.05
3 Jan-81 NA  994.25
4 Feb-81 NA  996.31
5 Mar-81 NA  939.91
6 Apr-81 NA  923.32

Now I want to convert it to a 'zoo' object. I wrote following syntax :

ss = zoo(data1[,3], as.Date(data1[,1], format="%m/%y"))

However I got following :
> head(ss)
   <NA>    <NA>    <NA>    <NA>    <NA>    <NA> 
1007.44  982.05  994.25  996.31  939.91  923.32 


Can anyone please tell me what will be the correct syntax?

Thanks


       
	[[alternative HTML version deleted]]

