Description Usage Arguments Details Value Examples
View source: R/time_series_misc.R
matrix_to_mforecast
transform simple matrix of forecasts to complex mforecast object.
1 | matrix_to_mforecast(forecast_matrix, y_before, method = "Unspecified")
|
forecast_matrix |
h by m forecast matrix |
y_before |
tibble with three columns: variable, mean, sd |
method |
the name of the method |
forecast
package uses complex mforecast format to store forecasts.
This function transforms simple matrices to mforecast objects.
complex mforecast object
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.