Description Usage Arguments Value Examples
View source: R/WRAPPER_start_forecast_analysis_dashboard.R
start_forecast_analysis_dashboard
is a wrapper function around several
visualization functions to start a local Shiny dashboard to analyse the
forecast data available in the main_forecasting_table.
1 | start_forecast_analysis_dashboard(main_forecasting_table, test_mode = F)
|
main_forecasting_table |
A tibble containing several columns of data
required for time series forecasting, which has been created using the
|
test_mode |
Boolean, which is only set to TRUE when testing this function within the testthat framework for building the tsforecast package. |
Starts a local Shiny dashboard to analyse the forecasts.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | tstools::initialize_ts_forecast_data(
data = dummy_gasprice,
date_col = "year_month",
col_of_interest = "gasprice",
group_cols = c("state", "oil_company")
) %>%
create_main_forecasting_table(
min_train_periods = 180
) %>%
add_fc_models_to_main_forecasting_table(
periods_ahead = 12,
fc_methods = c("basic", "linear")
) %>%
start_forecast_analysis_dashboard()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.