[R] arima forecast function
warthog29
gaylewind at gmail.com
Wed Aug 13 01:28:38 CEST 2008
I initially input the following commands, and got the corresponding errors:
install.packages(forecast)
Error in install.packages(forecast) : object "forecast" not found
> library(forecast)
Error in library(forecast) : there is no package called 'forecast'
I was finally able to get it installed by using the menus provided. Thanks
for your help.
Nordlund, Dan (DSHS/RDA) wrote:
>
>> -----Original Message-----
>> From: r-help-bounces at r-project.org
>> [mailto:r-help-bounces at r-project.org] On Behalf Of warthog29
>> Sent: Tuesday, August 12, 2008 3:40 PM
>> To: r-help at 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 at 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.
>
>
--
View this message in context: http://www.nabble.com/arima-forecast-function-tp18953848p18954416.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list