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 110717 105680 98469 101916
Script:
y1<-ts(y1);
forey1<-BootBC(y1,p=2,h=3,nboot=5000,type="const+trend",correct="ssf")
Plot.Fore(y1,forey1$forecast,start=1966,end=1984,frequency=1)
The Error:
Error in zooreg(x, start, end, frequency) :
"data" : attempt to define illegal zoo object
Any Help?
Thanks
Rick
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.