extract_labeled_value: Extract numeric value from line containing a label
Description
Extract numeric value from line containing a label
Usage
extract_labeled_value(lines, pattern, value_pattern)
Value
Numeric value or NULL if not found
Arguments
- lines
Character vector of all response lines
- pattern
Pattern to match the label
- value_pattern
Pattern to extract the numeric value