Skip to contents

Runs n.splits Bernoulli splits through run_single_consistency_split() and returns the rounded proportion of consistent splits, or NA_real_ when too few valid splits are obtained. Survival and GLM (estimator_fn) paths.

Usage

.consistency_via_splits(
  df.x,
  N.x,
  n.splits,
  hr.consistency,
  cox_init,
  estimator_fn,
  consistency_threshold,
  adjust_covariates,
  pconsistency.digits,
  m = NA,
  details = FALSE
)