Checks the output of functions two_sample_htest and multi_sample_htest
Checks the output of function two_sample_htest
and multi_sample_htest
.
check_tests(x)
x |
Result of function |
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.
Most hypothesis-test-functions in R like t.test
or chisq.test
return an object of class htest.
This object passes this checks.
Additional fields can be added to these objects and they will still pass this check.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.