Learn R Programming

scoringutils (version 2.1.0)

assert_scores: 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

assert_scores(scores)

Value

Returns NULL invisibly

Arguments

scores

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