Dear all,
I wrote a code doing forecasting using polynomial regression.
I would like to use it on qliksense.
I have done the installation needed, Rserve and the link is working.
I have already tried to translate it in qlik sense but I always get error.
Here is the working code in R :
plot(dataIMMO$Semaine,dataIMMO$`Production cumulée`,type="o",xlim=c(1,45),ylim=c(0,500))
#########################################################################
model=lm(`Production cumulée` ~ poly(Semaine,2),data=dataIMMO)
futur=predict.lm(model);
newSemaine=c(1:45);
help('predict')
futur<-predict(model,data.frame(Semaine=newSemaine),interval='prediction',level=0.99)
futur[,1]
could you please help me ???