test_forecast_type_is_binary: Test whether data could be a binary forecast.

View source: R/get_-functions.R

test_forecast_type_is_binaryR Documentation

Test whether data could be a binary forecast.

Description

Checks type of the necessary columns.

Usage

test_forecast_type_is_binary(data)

Arguments

data

A data.frame or similar to be checked

Value

Returns TRUE if basic requirements are satisfied and FALSE otherwise


epiforecasts/scoringutils documentation built on Aug. 20, 2024, 9:58 p.m.