Checks that all names in pre_calibrated exist in conditions and that the corresponding values in dat are within the [0, 1] range required for fuzzy membership scores. Values of exactly 0.5 trigger a single warning naming the variable and the number of cases.

validate_pre_calibrated(pre_calibrated, conditions, dat)

Arguments

pre_calibrated

Character vector or NULL.

conditions

Character vector. Valid condition variable names.

dat

Data frame containing the variables.

Value

Invisible NULL. Raises errors or warnings as needed.