validate_threshold: Validate threshold specification

View source: R/links.R

validate_thresholdR Documentation

Validate threshold specification

Description

Validate threshold specification

Usage

validate_threshold(threshold, K = NULL)

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

Value

TRUE if valid, otherwise throws an error


clmstan documentation built on June 29, 2026, 5:06 p.m.