View source: R/run_synthetic_forecast.R
| run_synthetic_forecast | R Documentation | 
Executes all the other package functions in order to have a list with the results table.
run_synthetic_forecast( df, col_unit_name, unit_of_interest, col_time, periods_to_forecast, serie_of_interest )
| df | Main DataFrame. | 
| col_unit_name | String with column name of the column with the units names. | 
| unit_of_interest | Value of the col_unit_name that is of interest. | 
| col_time | String with the column name of the time column. | 
| periods_to_forecast | (Integer) Number of periods to forecast. | 
| serie_of_interest | Column name os the serie to be projected. | 
List with results table.
synthetic_forecast <- run_synthetic_forecast( df = df_example, col_unit_name = 'unit', col_time='time_period', periods_to_forecast=12, unit_of_interest = '30', serie_of_interest = 'x1' )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.