Learn R Programming

scoringutils (version 2.1.0)

document_assert_functions: Documentation template for assert functions

Description

Documentation template for assert functions

Value

Returns NULL invisibly if the assertion was successful and throws an error otherwise.

Arguments

observed

Input to be checked. Should be a numeric vector with the observed values of size n.