I'm working on a forecast project. I'm using R forecast package. Below is the script:
time <- ts(u,deltat=1/12,start=c(2015,1));
fcast <- forecast(time, h=.arg2);
append(u,fcast$mean, after = n)",
SUM([Sales]),[No. of Months to Forecast])
'No.of Months to Forecast' being my parameter. Here's my question: I would like to add another parameter, Para2 to this. Is that possible?
If so, how would I do that ?
Yes, it is possible, though I do not know where you intend to use it. So, I have simply replaced the year 2015 with .arg3 which will take the value from the parameter Para2.
Hope this helps.
Become a Viz Whiz on the Forums!
Support the Community and master Tableau.
Retrieving data ...