Learn R Programming

ldamatch (version 0.6.3)

apply_crit: Returns smallest halting_test() / thresh ratio, or zero if less than 1.

Description

Returns smallest halting_test() / thresh ratio, or zero if less than 1.

Usage

apply_crit(covariates, crit, condition, thresh)

Arguments

covariates
A vector or 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 statistical threshold to pass onto the aforementioned test.