Learn R Programming

dials (version 1.4.5)

threshold_structure: Threshold structure (character)

Description

The threshold structure for the cutpoints of an ordinal regression model.

Usage

threshold_structure(values = values_threshold_structure)

values_threshold_structure

Arguments

values

A character string of possible values. See values_threshold_structure in examples below.

Details

This parameter is used by ordinal regression models specified by parsnip::ordinal_reg(), for example with the "clm" or "vglm" engines. It controls how thresholds/cutpoints are constrained.

  • "flexible" (default): No constraints.

  • "symmetric_median": Symmetry about the median threshold.

  • "symmetric_zero": Symmetry about zero.

  • "equidistant": Equal differences between consecutive thresholds.

See engine documentation for more detail and supported structures.

Examples

Run this code
values_threshold_structure
threshold_structure()

Run the code above in your browser using DataLab