Checks the output of function statistics.
statistics
check_statistics(x)
Result of function statistics.
TRUE if x has the following properties: x is a named list with length > 0. The names of the list must not have duplicates. The names may contain NA. Else an error.
TRUE
x