> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of warthog29
> Sent: Tuesday, August 12, 2008 3:40 PM
> To: r-help@r-project.org
> Subject: [R] arima forecast function
> 
> 
> hi:
> 
> I am trying to fit prediction intervals for an arima object. 
> My search led
> me to the link:
> 
> http://finzi.psych.upenn.edu/R/library/forecast/html/forecast.
> Arima.html
> 
> which has the function "forecast", as I wanted. However, when 
> I try to run
> it in R, I get the message:
> 
> Error in plot(forecast(fit)) : could not find function "forecast"
> 
> Even the example provided on the page (having corrected the 
> function "Arima"
> to "arima") does not seem to work.
> What's going on? Does the function "forecast" to an older 
> version of R? Can
> somebody please explain? 
> -- 

Have you installed the forecast package on your system?  If you have, did you 
load the package? 

library(forecast)


Hope this is helpful,

Dan

Daniel J. Nordlund
Washington State Department of Social and Health Services
Planning, Performance, and Accountability
Research and Data Analysis Division
Olympia, WA  98504-5204
 
 

______________________________________________
R-help@r-project.org 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.

Reply via email to