get_duplicate_forecasts: Find duplicate forecasts

View source: R/get_-functions.R

get_duplicate_forecastsR Documentation

Find duplicate forecasts

Description

Helper function to identify duplicate forecasts, i.e. instances where there is more than one forecast for the same prediction target.

Usage

get_duplicate_forecasts(data)

Arguments

data

A data.frame as used for score()

Value

A data.frame with all rows for which a duplicate forecast was found

Examples

example <- rbind(example_quantile, example_quantile[1000:1010])
get_duplicate_forecasts(example)

epiforecasts/scoringutils documentation built on April 23, 2024, 4:56 p.m.