Description Usage Arguments Value See Also Examples
View source: R/forecast-models.R
Returns historical fit and forecasted values of a forecast model.
1 | prevedere_forecast(key, model_id, as_of_date = NULL, raw = FALSE)
|
key |
A Prevedere API key. |
model_id |
UUID for the forecast model. |
as_of_date |
Get the model only using data up to the specified date (YYYY-MM-DD). Used for backtesting. |
raw |
Logical value indicating if data should be returned in its raw form (typically nested lists) or formatted as appropriate, usually a dataframe. |
A dataframe of forecasted values and metadata.
Other forecast model functions: prevedere_raw_model
1 2 3 4 5 6 | ## Not run:
k <- "1235467abcdefg"
prevedere_forecast(key = k, model_id = "1b1878399833c7f38b094e54dd43d374")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.