View source: R/halting_tests.R
create_halting_test | R Documentation |
The created halting test function returns the smallest p-value-to-threshold ratio of the values produced by the supplied tests, or zero if any of the p-values does not exceed the threshold. The resulting function expects one threshold per halting test in a vector or it recycles the given value(s) to get a threshold for each one.
create_halting_test(halting_tests)
halting_tests |
Either a vector of halting test functions
(or function names) with the signature
halting_test(condition, covariates, thresh)
(for the meaning of the parameters see
|
A function that returns the minimum of all halting test values; the threshold value supplied to it is recycled for the individual functions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.