Member-only story

How to Create time-series Forecast Model Web Tool via R Shiny

DigNo Ape
2 min readDec 7, 2019

--

Purpose: We are going to build a web-based tool to let user select different data sources with data exploration and present forecasting result based on ETS methodology in fpp package.

free version

User Interface:
1. Tab 1 (Data Exploration): In this tab, users are able to select data source on the left hand side with data description. On the right hand side, it presents three main different plots, month plot, lag plot, and ACF plot.

2. Tab 2 (Forecast Methods): In this tab, it creates forecast model based on the selected data source in the Tab 1 and presents the forecast values (blue line) and range (grey shadow) based on the method on the right hand side. Also, it calculate the accuracy of model so that users can do the comparison across different methods.

Tool Structure:
R Shiny includes two main parts of codes, UI.R and Server.R.

  1. UI: The code of UI control the design and layout of tool with the input and output hit on the Server.R.
navbarPage
("Forecast fpp",
tabPanel("Data…

--

--

DigNo Ape
DigNo Ape

Written by DigNo Ape

我們秉持著從原人進化的精神,不斷追求智慧的累積和工具的運用來提升生產力。我們相信,每一個成員都擁有無限的潛力,透過學習和實踐,不斷成長和進步。

No responses yet