score_entry: Scores an entry

Description Usage Arguments Value See Also Examples

View source: R/score_entry.R

Description

Scores an entry based on the observed truth provided. verify_entry should be run prior to scoring, along with remove_invalid if invalid probabilities are detected.

Usage

1
score_entry(entry, truth)

Arguments

entry

A valid entry data.frame with columns location, target, bin_start_incl, value, and forecast week

truth

A data.frame containing all true values with columns location, target, forecast_wk, and bin_start_incl. If multiple bins are considered correct for a given target, all correct bins must be included here.

Value

A data.frame of scores for each target

See Also

expand_truth verify_entry remove_invalid

Examples

1
2
3

jarad/FluSight documentation built on Oct. 24, 2020, 9:58 p.m.