.apply_crit {ldamatch} | R Documentation |
Returns smallest halting_test-threshold ratio, or 0 if less than 1.
Description
Returns smallest halting_test-threshold ratio, or 0 if less than 1.
Usage
.apply_crit(covariates, crit, condition, thresh)
Arguments
covariates |
A columnwise matrix containing covariates to match the conditions on. |
crit |
The criterion function to use, such as |
condition |
A factor vector containing condition labels. |
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]