Create data to use for forecast
Usage
split_cv_forecast(
data_to_split,
forecast_start_date,
month_analysis,
month_assess
)
Arguments
- forecast_start_date
start date of forecast
- month_analysis
how many months of analysis to include
- month_assess
how many months of forecasting (assessment to include)
- all_data
data.frame that contains the data used to train the model
Value
list containing analysis and assessment set