5 Replies Latest reply: Aug 23, 2018 5:22 PM by Juan Frias 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!