Internal helper to validate distance-related arguments used across conformal, bootstrap, mondrian, ccp, and bccp functions.
validate_distance_inputs(
distance_features_calib,
distance_features_pred,
calib_length,
pred_length,
fn_name = "pinterval"
)NULL (called for side effects: stops on invalid input)
Features for calibration set
Features for prediction set
Expected number of calibration observations
Expected number of prediction observations
Name of the calling function, used in error messages