Re: [R] Problem with zoo and BootPR packages

2009-11-19 Thread Gabor Grothendieck
Actually it may be that the documentation is at fault more than the code. The help page for Plot.Fore says that the first argument is a time series data set and although that seems to suggest that it should be a ts object the code seems to be written assuming a plain numeric vector; therefore, you

Re: [R] Problem with zoo and BootPR packages

2009-11-19 Thread Ricardo Gonçalves Silva
Ok, Thanks all. Rick. -- From: "Achim Zeileis" Sent: Thursday, November 19, 2009 3:06 PM To: "Ricardo Gonçalves Silva" Cc: "R-Help" ; Subject: Re: [R] Problem with zoo and BootPR packages On Thu, 19 Nov 2009,

Re: [R] Problem with zoo and BootPR packages

2009-11-19 Thread Achim Zeileis
On Thu, 19 Nov 2009, Ricardo Gonçalves Silva wrote: Hi, I'm trying to plot the forecasts I generated using the Plot.Fore function of the BootPR package. But I got an error from zoo: My data: Time Series: Start = 1 End = 18 Frequency = 1 [1] 38731 38628 39117 92809 71984 31226 58613 7

Re: [R] Problem with zoo and BootPR packages

2009-11-19 Thread Gabor Grothendieck
Contact the BootPR maintainer regarding a bug in this line of Plot.Fore: y1 <- zooreg(x, start, end, frequency) where x is a ts object but that may not be used in that context. as.zooreg is available for converting ts series (and certain other objects) to zooreg objects. 2009/11/19 Ricardo Go

[R] Problem with zoo and BootPR packages

2009-11-19 Thread Ricardo Gonçalves Silva
Hi, I'm trying to plot the forecasts I generated using the Plot.Fore function of the BootPR package. But I got an error from zoo: My data: Time Series: Start = 1 End = 18 Frequency = 1 [1] 38731 38628 39117 92809 71984 31226 58613 72360 107956 92066 [11] 95208 99098 95848 120383