Skip to content
Prev 200829 / 398503 Next

Problem with zoo and BootPR packages

On Thu, 19 Nov 2009, Ricardo Gon?alves Silva wrote:

            
This is a bug in Plot.Fore() which does not use the zoo functions 
correctly. It should be reported to the package maintainer.

To avoid it, you can do
   Plot.Fore(as.vector(y1), ...)
instead of
   Plot.Fore(y1, ...)

Note to the maintainer (Jae Kim, Cc now): Plot.Fore() calls zooreg(x) 
where x is a "ts" object. This isn't the appropriate use of zooreg() which 
expects a numeric vector/matrix (or a factor). In the case above 
as.zoo(y1) would already be enough (and preserve all time information). Or 
you can manually call zooreg(coredata(y1), start = ..., end = ..., ....). 
See the zoo vignettes/examples for more details.

Best,
Z