3 Replies Latest reply: Jul 6, 2017 5:19 AM by Mohan Kumar RSS

    How to pass the parameter in R integrated Qlik?

    Mohan Kumar

      Hello all,


      I am using the beta version of Qlik Sense. Which can be downloaded from this community https://community.qlik.com/blogs/technicalbulletin/2016/10/19/join-the-community-for-advanced-analytics-extensions


      After integrating Qlik Sense with R successfully, I checked the example file TimeSeries Analysis App given by Qlik itself. In which, the example demonstrates HoltWinter forecasting passing parameter beta = FALSE and gamma = FALSE. Expression as follows,


      R.ScriptEval('library(TTR);library(forecast);data.frame(forecast(HoltWinters(.arg1, beta = FALSE, gamma = FALSE), h=10))[,1]', Sum(Rain))


      I tried to tweak the forecast by changing gamma = 0.1, beta = 0 and another parameter of HoltWinter function alpha = 1. The expression didn't work. Only exponential smoothing parameter(beta) works.


      I am looking for the reason why it isn't working?