Forum Discussion
Arima forecasting model
Hello,
I have visited the following url:
https://community.powerbi.com/t5/R-Script-Showcase/ARIMA-forecasting/td-p/124237/highlight/false
where we can find a project named forecast_ARIMA_ShowCase.pbix
and the script that goes with the project
I have open the project and I the following error (see the attached image capture)
I have try to install the packages scales, forecast and zoo but I am still getting the same error.
does someone know how to solve that issue?
Regards,
Hi Anonymous ,
change line 558-559 to this.
plot(forecast(prediction, lwd=pointCex, col=alpha(pointsCol,transparency), fcol=alpha(forecastCol,transparency), flwd = pointCex, shaded=fillConfidenceLevels,main = "", sub = pbiInfo, col.sub = infoTextColor, cex.sub = cexSub, xlab = labTime, ylab = labValue, xaxt = "n"))If I answered your question, please mark my post as solution, this will also help others.Please give Kudos for support.
4 Replies
- mwegenerMost Valuable Professional
Hi Anonymous ,
change line 558-559 to this.
plot(forecast(prediction, lwd=pointCex, col=alpha(pointsCol,transparency), fcol=alpha(forecastCol,transparency), flwd = pointCex, shaded=fillConfidenceLevels,main = "", sub = pbiInfo, col.sub = infoTextColor, cex.sub = cexSub, xlab = labTime, ylab = labValue, xaxt = "n"))If I answered your question, please mark my post as solution, this will also help others.Please give Kudos for support.- AnonymousNot applicable
Hello
I have made the proposed changes at line 558-559 and now it works.
As I am a beginer in R, it will remain me to understand the script.
Thank you very much.
- nicolasrarevaloNew Member
Hi, my file only has 45 lines, can you please share with me the fixed file?
- mwegenerMost Valuable Professional