Learn R Programming

TSQCA (version 1.3.1)

validate_pre_calibrated: 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.

Usage

validate_pre_calibrated(pre_calibrated, conditions, dat)

Value

Invisible NULL. Raises errors or warnings as needed.

Arguments

pre_calibrated

Character vector or NULL.

conditions

Character vector. Valid condition variable names.

dat

Data frame containing the variables.