f_halt: A univariate halting test using Fisher's exact test.

Description Usage Arguments Value

View source: R/halting_tests.R

Description

A univariate halting test using Fisher's exact test.

Usage

1
f_halt(condition, covariates, thresh)

Arguments

condition

A factor vector containing condition labels.

covariates

A columnwise matrix containing covariates to match the conditions on.

thresh

The return value of halting_test has to be greater than or equal to thresh for the matched groups.

Value

The ratio of the p-value and the threshold, or 0 if the p-value is less than the threshold.


ldamatch documentation built on May 2, 2019, 9:15 a.m.