validate_scores: Validate an object of class 'scores'

validate_scoresR Documentation

Validate an object of class scores

Description

This function validates an object of class scores, checking that it has the correct class and that it has a metrics attribute.

Usage

validate_scores(scores)

Arguments

scores

A data.table or similar with scores as produced by score().

Value

Returns NULL invisibly


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