<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to pass the parameter in R integrated Qlik? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-pass-the-parameter-in-R-integrated-Qlik/m-p/1313498#M7351</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So far, the Integration works well. There are two possible reasons for this error,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) The forecasting data should be in the class of ts().&lt;/P&gt;&lt;P&gt;2) The forecasting data should have at least two years of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R.ScriptEval('library(TTR);library(forecast);data.frame(forecast(HoltWinters(&lt;STRONG&gt;ts(q$sumRain,start=c(&lt;SPAN style="font-size: 13.3333px;"&gt;1813&lt;/SPAN&gt;), end=c(1912), frequency = 1)&lt;/STRONG&gt;, alpha = 0.598, beta=0, gamma=0.904), h=$(RainNumberOfYears)))[,1]', Sum(rain) as sumRain)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jul 2017 09:19:09 GMT</pubDate>
    <dc:creator>mohan_1105</dc:creator>
    <dc:date>2017-07-06T09:19:09Z</dc:date>
    <item>
      <title>How to pass the parameter in R integrated Qlik?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-pass-the-parameter-in-R-integrated-Qlik/m-p/1313495#M7348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the beta version of Qlik Sense. Which can be downloaded from this community &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/technicalbulletin/2016/10/19/join-the-community-for-advanced-analytics-extensions"&gt;https://community.qlik.com/blogs/technicalbulletin/2016/10/19/join-the-community-for-advanced-analytics-extensions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After integrating Qlik Sense with R successfully, I checked the example file &lt;SPAN style="font-size: 13.3333px;"&gt;TimeSeries Analysis App &lt;/SPAN&gt;given by Qlik itself. In which, the example demonstrates HoltWinter forecasting passing parameter beta = FALSE and gamma = FALSE. Expression as follows,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R.ScriptEval('library(TTR);library(forecast);data.frame(forecast(HoltWinters(.arg1, beta = FALSE, gamma = FALSE), h=10))[,1]', Sum(Rain))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for the reason why it isn't working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 07:16:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-pass-the-parameter-in-R-integrated-Qlik/m-p/1313495#M7348</guid>
      <dc:creator>mohan_1105</dc:creator>
      <dc:date>2017-07-03T07:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the parameter in R integrated Qlik?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-pass-the-parameter-in-R-integrated-Qlik/m-p/1313496#M7349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for what you asking for I have to look deeper inside Qlik + R integration, but now I have no time to do it.&lt;/P&gt;&lt;P&gt;would be great if you let us know what your app goal is and how you'll achieve it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 10:10:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-pass-the-parameter-in-R-integrated-Qlik/m-p/1313496#M7349</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2017-07-03T10:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the parameter in R integrated Qlik?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-pass-the-parameter-in-R-integrated-Qlik/m-p/1313497#M7350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrea,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider if my data shows seasonal behavior, then I must pass Alpha(Base), beta(Smoothing) and gamma(Seasonality) parameter inside the holtwinder function for a better forecast. So I wanted to forecast this kind data with proper explanation in my app not just like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any explanation on it isn't working will be much helpful. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 10:48:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-pass-the-parameter-in-R-integrated-Qlik/m-p/1313497#M7350</guid>
      <dc:creator>mohan_1105</dc:creator>
      <dc:date>2017-07-03T10:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the parameter in R integrated Qlik?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-pass-the-parameter-in-R-integrated-Qlik/m-p/1313498#M7351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So far, the Integration works well. There are two possible reasons for this error,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) The forecasting data should be in the class of ts().&lt;/P&gt;&lt;P&gt;2) The forecasting data should have at least two years of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R.ScriptEval('library(TTR);library(forecast);data.frame(forecast(HoltWinters(&lt;STRONG&gt;ts(q$sumRain,start=c(&lt;SPAN style="font-size: 13.3333px;"&gt;1813&lt;/SPAN&gt;), end=c(1912), frequency = 1)&lt;/STRONG&gt;, alpha = 0.598, beta=0, gamma=0.904), h=$(RainNumberOfYears)))[,1]', Sum(rain) as sumRain)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 09:19:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-pass-the-parameter-in-R-integrated-Qlik/m-p/1313498#M7351</guid>
      <dc:creator>mohan_1105</dc:creator>
      <dc:date>2017-07-06T09:19:09Z</dc:date>
    </item>
  </channel>
</rss>

