Learn R Programming

scoringutils (version 2.1.0)

document_check_functions: Documentation template for check functions

Description

Documentation template for check functions

Value

Returns TRUE if the check was successful and a string with an error message otherwise.

Arguments

data

A data.frame or similar to be checked

observed

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

columns

A character vector of column names to check