.ad_crit: Criterion function for ad_halt.
Description
Criterion function for ad_halt.
Usage
.ad_crit(covariate, condition)
Arguments
- covariate
A vector containing a covariate to match the conditions on.
- condition
A factor vector containing condition labels.