View source: R/check_forecasts.R
find_duplicates | R Documentation |
Helper function to identify duplicate forecasts, i.e. instances where there is more than one forecast for the same prediction target.
find_duplicates(data, forecast_unit, ...)
data |
A data.frame as used for |
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. |
... |
Additional arguments passed to |
A data.frame with all rows for which a duplicate forecast was found
example <- rbind(example_quantile, example_quantile[1000:1010]) find_duplicates(example)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.