add_up_to() checks whether reported subgroup sizes, or other
counts, sum to the reported total.
The function is vectorized over cases, but add_up_to_map() is more
convenient for testing many cases.
add_up_to() checks whether reported subgroup sizes, or other
counts, sum to the reported total.
The function is vectorized over cases, but add_up_to_map() is more
convenient for testing many cases.