Helper function to identify duplicate forecasts, i.e.
instances where there is more than one forecast for the same prediction
target.
Usage
find_duplicates(data, forecast_unit)
Value
A data.frame with all rows for which a duplicate forecast was found
Arguments
data
A data.frame as used for score()
forecast_unit
A character vector with the column names that define
the unit of a single forecast. If missing the function tries to infer the
unit of a single forecast.