4 Replies Latest reply: Apr 17, 2018 8:57 AM by yannick camaro RSS

    Not able to run Holt-Winters

    Aineth Torres

      I downloaded the example app R_TimeSeriesAnalysis, however, I have not been able to run the script for the Holt-Winters method. I get the message: "Client Specified an Invalid Argument". I was able to run the example for moving averages but not this one. I also tried with a different dataset but it didn´t work.

       

      The code, as included in the app is the following:

      R.ScriptEval('library(TTR);library(forecast);forecast(HoltWinters(q$sumRain, beta=FALSE, gamma=FALSE), h=$(RainNumberOfYears))$fitted', Sum([rain]) as sumRain)

       

      Has anyone experienced a similar issue?

      What are the conditions that the data should meet?

       

      Please help!