dot-apply_crit_to_condition_pairs: Returns smallest value from .apply_crit for all condition...

.apply_crit_to_condition_pairsR Documentation

Returns smallest value from .apply_crit for all condition pairs.

Description

Returns smallest value from .apply_crit for all condition pairs.

Usage

.apply_crit_to_condition_pairs(covariates, crit, condition, thresh)

Arguments

covariates

A columnwise matrix containing covariates to match the conditions on.

crit

The criterion function to use, such as .t_crit.

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.


ldamatch documentation built on May 29, 2024, 7:56 a.m.