assert_scores {scoringutils}R 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

assert_scores(scores)

Arguments

scores

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

Value

Returns NULL invisibly


[Package scoringutils version 2.0.0 Index]