Getting Started - bri-thetechie/TSA GitHub Wiki
Prerequisites
-
R: Ensure you have R (version 4.0 or higher) installed. You can download it from The R Project for Statistical Computing.
-
RStudio (Recommended): While not strictly required, RStudio provides a user-friendly environment for working with R and Shiny. You can download it from RStudio.
-
Required R Packages: Before running the apps, you need to install the necessary R packages. Open your R console or RStudio and run the following command:
install.packages(c("shiny", "shinythemes", "ggplot2", "forecast", "tseries", "readxl", "plotly", "lmtest", "nortest", "TTR", "tools", "uroot", "quantmod", "rugarch", "shinyWidgets"))
Running the Applications
Automated Time Series Analysis Dashboard (app1.R):
- Clone or download this repository to your local machine.
- Open the
app1.Rfile in R or RStudio. - Run the Shiny application using one of the following methods:
- In RStudio: Click the "Run App" button in the top right corner of the script editor.
- In the R console: Navigate to the directory containing
app1.Rand run the commandshiny::runApp('app1.R').
- A web browser window will open with the application.
Advanced Time Series Analysis Dashboard (app2.R):
- Follow the same steps as above, but open and run the
app2.Rfile instead.
Using the Apps
Basic usage instructions are provided within each application. Refer to the "Automated App Guide" and "Advanced App Guide" for more detailed explanations of their features.