as_forecast_sample | R Documentation |
forecast
object for sample-based forecastsCreate a forecast
object for sample-based forecasts
as_forecast_sample(
data,
forecast_unit = NULL,
observed = NULL,
predicted = NULL,
model = NULL,
sample_id = NULL
)
data |
A data.frame (or similar) with predicted and observed values.
See the details section of |
forecast_unit |
(optional) Name of the columns in |
observed |
(optional) Name of the column in |
predicted |
(optional) Name of the column in |
model |
(optional) Name of the column in |
sample_id |
(optional) Name of the column in |
Other functions to create forecast objects:
as_forecast
,
as_forecast_binary()
,
as_forecast_nominal()
,
as_forecast_point()
,
as_forecast_quantile()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.