Converts q-indexed codes to human-readable labels using the confs_labels mapping. Supports both full format ("q1.1", "q3.0") and short format ("q1", "q3"). Handles vector input via recursion.
Arguments
- Qsg
Character. Factor code in format
"q<index>.<action>"or"q<index>". For the full format, action 0 = NOT (complement), action 1 = IN (member). Short format defaults to action 1. Can also be a character vector for vectorized input.- confs_labels
Character vector. Labels for each factor, indexed by factor number.