check_tests: Checks the output of functions two_sample_htest and...

Description Usage Arguments Value

View source: R/check_tests.R

Description

Checks the output of function two_sample_htest and multi_sample_htest.

Usage

1

Arguments

x

Result of function two_sample_htest or multi_sample_htest.

Value

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.


atable documentation built on Dec. 16, 2020, 1:06 a.m.