Tests whether a specific combination meets all criteria and returns a status code indicating how far the evaluation progressed.
evaluate_combination_with_status(
covs.in,
yy,
dd,
tt,
zz,
n.min,
d0.min,
d1.min,
hr.threshold,
minp,
rmin,
kk
)List with:
Integer status code: 0 = failed variance check, 1 = passed variance, failed prevalence, 2 = passed prevalence, failed redundancy, 3 = passed redundancy, failed events, 4 = passed events, failed sample size, 5 = passed sample size, failed Cox fit, 6 = passed Cox fit, failed HR threshold, 7 = passed all criteria (success)
Result row if successful, NULL otherwise
Numeric vector. Factor selection indicators.
Numeric vector. Outcome values.
Numeric vector. Event indicators.
Numeric vector. Treatment indicators.
Matrix. Factor indicators.
Integer. Minimum sample size.
Integer. Minimum control events.
Integer. Minimum treatment events.
Numeric. HR threshold.
Numeric. Minimum prevalence.
Integer. Minimum size reduction.
Integer. Combination index.