View source: R/get_-functions.R
assert_forecast_type | R Documentation |
Assert that forecast type is as expected
assert_forecast_type(data, actual = get_forecast_type(data), desired = NULL)
data |
A forecast object (see |
actual |
The actual forecast type of the data |
desired |
The desired forecast type of the data |
Returns NULL invisibly if the assertion was successful and throws an error otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.