Skip to content
Prev 33101 / 398503 Next

Questions for package ts prediction

You have a scoping problem: the predict method needs to find the data:
please supply an explicit newdata argument.  Your first example works
because `y' happens to be globally visible and be the right object.
On 9 Jun 2003, zhu wang wrote:

            
Have you tried it?  Please do so, and you will learn the difference!
This idiom is widely used in the R help files.