check_fc_horizon: Check forecasting horizon

Description Usage Arguments Value

View source: R/arg_checks.R

Description

This function ensures that the selected forecasting horizon is valid. If not, the function throws an error.

Usage

1
check_fc_horizon(fc_horizon)

Arguments

fc_horizon

An integer, the forecasting horizon (i.e. the number of periods to forecast)

Value

fc_horizon: A positive integer


xavierkamp/tsForecastR documentation built on Feb. 1, 2020, 10:16 a.m.