View source: R/get-duplicate-forecasts.R
get_duplicate_forecasts | R Documentation |
Internal helper function to identify duplicate forecasts, i.e. instances where there is more than one forecast for the same prediction target.
get_duplicate_forecasts(data, forecast_unit = NULL, counts = FALSE)
data |
A data.frame (or similar) with predicted and observed values. See the details section of for additional information on the required input format. |
forecast_unit |
(optional) Name of the columns in |
counts |
Should the output show the number of duplicates per forecast
unit instead of the individual duplicated rows? Default is |
A data.frame with all rows for which a duplicate forecast was found
example <- rbind(example_quantile, example_quantile[1000:1010])
get_duplicate_forecasts(example)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.