Re: [R] Problem converting zoo object (daily data) to a timeSeries object

2011-01-27 Thread Gabor Grothendieck
On Thu, Jan 27, 2011 at 11:56 AM, John E. Kaprich wrote: > When I try to convert the zoo object to a timeSeries object, which would > allow me to utilize Rmetrics packages, I get an error message. > > > >> Data<-read.zoo("c:\\DOWUBSPRICING.txt,na.strings="NA",sep="\t",header=T) >> is(Data) > "zoo"

[R] Problem converting zoo object (daily data) to a timeSeries object

2011-01-27 Thread John E. Kaprich
When I try to convert the zoo object to a timeSeries object, which would allow me to utilize Rmetrics packages, I get an error message. > Data<-read.zoo("c:\\DOWUBSPRICING.txt,na.strings="NA",sep="\t",header=T) > is(Data) "zoo" > as.timeSeries.zoo(Data) Error in .local (.Object, . ) Is