Plots various metrics for evaluating probabilistic forecasts by group.
plot_metrics(object, groups = NULL, type, metrics = NULL, newdata = NULL)
object | A fitted model object returned by |
---|---|
groups | Either |
type | A string specifying the name of the observations to plot. This should match one
of the names of the response variables in the |
metrics | A string or character vector specifying the plotted
forecast error metrics. One of |
newdata | If provided, the original |
A ggplot
object which can be further modified.