validate_pre_calibrated: Validate the pre_calibrated parameter

View source: R/tsqca_core.R

validate_pre_calibratedR Documentation

Validate the pre_calibrated parameter

Description

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.

Usage

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.


ThSQCA documentation built on Sept. 26, 2026, 5:07 p.m.