| plot_model_comparison | R Documentation |
Used for the "Compare Selected Models" flow (and forecast ensembling, which adds one more named entry).
plot_model_comparison(forecasts, train_df = NULL, title = "Model Comparison")
forecasts |
A named list of |
train_df |
Optional tibble with |
title |
Character scalar, the plot title. Default
|
A plotly htmlwidget.
ds <- as.Date("2024-01-01") + 0:9
forecasts <- list(
ARIMA = tibble::tibble(ds = ds, yhat = 1:10),
ETS = tibble::tibble(ds = ds, yhat = 1:10 + 1)
)
plot_model_comparison(forecasts)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.