View source: R/subgroup_search.R
| evaluate_combination_with_status | R Documentation |
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,
estimator_fn = NULL,
df_clean = NULL,
outcome_type = NULL,
adjust_covariates = NULL,
disable_effect_floor = FALSE
)
covs.in |
Numeric vector. Factor selection indicators. |
yy |
Numeric vector. Outcome values. |
dd |
Numeric vector. Event indicators. |
tt |
Numeric vector. Treatment indicators. |
zz |
Matrix. Factor indicators. |
n.min |
Integer. Minimum sample size. |
d0.min |
Integer. Minimum control events (binary/survival) or ignored (continuous). |
d1.min |
Integer. Minimum treatment events (binary/survival) or ignored (continuous). |
hr.threshold |
Numeric. Effect threshold, on the scale this function
compares on: the natural hazard-ratio scale on the survival path, and
the resolved comparison scale (link for OR/RR/IRR, identity for
RD/IRD/MD) on the GLM paths. See |
minp |
Numeric. Minimum prevalence. |
rmin |
Integer. Minimum size reduction. |
kk |
Integer. Combination index. |
adjust_covariates |
Character vector or |
List with:
Integer status code: 0 = failed variance check, 1 = passed variance, failed prevalence, 2 = passed prevalence, failed redundancy, 3 = passed redundancy, failed per-arm filter, 4 = passed per-arm filter, failed sample size, 5 = passed sample size, failed model fit, 6 = passed model fit, failed effect threshold, 7 = passed all criteria (success)
Result row if successful, NULL otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.