l_halt {ldamatch}R Documentation

A univariate halting test using Levene's test.

Description

Warnings such as "ANOVA F-tests on an essentially perfect fit are unreliable" are suppressed.

Usage

l_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.


[Package ldamatch version 1.0.3 Index]