Learn R Programming

ldamatch (version 0.6.3)

create_halting_test: Creates halt test from multiple tests.

Description

The created halt test function returns the smallest p-value / threshold ratio of the values produced by the supplied halt test functions.

Usage

create_halting_test(halting_tests)

Arguments

halting_tests
A vector of halt test functions with the signature: halting_test(condition, covariates, thresh). For the meaning of the parameters see ldamatch.

Value

  • A function that returns the minimum of all halting test values; the threshold value supplied to it is recycled for the individual functions.