show_accuracy: Show the accuracy of a set of forecasts

View source: R/data_and_forecast.R

show_accuracyR Documentation

Show the accuracy of a set of forecasts

Description

Take a mable of forecasts and the actual drug issues and compute mean absolute error

Usage

show_accuracy(forecast_value, data, horizon)

Arguments

data

tsibble with two columns 'Date' and 'Quantity'. You can make this with make_tsibble

forecast_value.

A forecast. You can make this with forecast_series

Value

dataframe with two columns showing model and MAE


CDU-data-science-team/phaRmacyForecasting documentation built on Jan. 2, 2023, 5:56 p.m.