get_condition_status: Determine condition status in a term

View source: R/tsqca_config_chart.R

get_condition_statusR Documentation

Determine condition status in a term

Description

Checks whether a condition is present, absent (negated), or don't care in a given term.

Usage

get_condition_status(term, condition)

Arguments

term

Character. Single term (e.g., "X1*X2", "~X3").

condition

Character. Condition name (e.g., "X1").

Details

Uses word boundary matching to avoid false positives when condition names are substrings of each other (e.g., X1 vs X10).

Value

Character. One of "present", "absent", or "dontcare".


TSQCA documentation built on Feb. 18, 2026, 5:06 p.m.