validate_threshold: Validate threshold specification
Description
Validate threshold specification
Usage
validate_threshold(threshold, K = NULL)
Value
TRUE if valid, otherwise throws an error
Arguments
- threshold
A character string specifying the threshold structure
- K
Number of ordinal categories (optional)
Details
Validation rules:
flexible: No restrictions
equidistant: K = 2 triggers a warning (d is not identifiable)
symmetric: Requires K >= 3