1 Reply Latest reply on Sep 21, 2017 3:56 PM by Hari Ankem

    Multiple parameters in R Script?

    shwetha sarma



      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[1]);

      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 ?