Returns smallest halting_test-threshold ratio, or 0 if less than 1.
.apply_crit(covariates, crit, condition, thresh)
The ratio of the p-value and the threshold, or 0 if the p-value is less than the threshold.
A columnwise matrix containing covariates to match the conditions on.
The criterion function to use, such as .t_crit
.
A factor vector containing condition labels.
The return value of halting_test has to be greater than or equal to thresh for the matched groups.