check_true_values: Check Observed Value Input For Lower-level Scoring Functions
Description
Helper function to check inputs for lower-level score functions.
Usage
check_true_values(true_values, type = c("continuous", "integer", "binary"))
Arguments
- true_values
A vector with the true observed values of size n
- type
character, one of "continuous" (default), "integer" or "binary" that
defines the type of the forecast