Skip to content
Prev 200838 / 398503 Next

Problem with zoo and BootPR packages

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 could do this:

library(zoo)
Plot.Fore(coredata(y1), forey1$forecast, start = 1966, end = 1984,
frequency = 1)

2009/11/19 Gabor Grothendieck <ggrothendieck at gmail.com>: