Learn R Programming

dials (version 1.4.5)

ordinal_link: Ordinal regression link functions (character)

Description

The ordinal and odds link functions of an ordinal regression model.

Usage

ordinal_link(values = values_ordinal_link)

values_ordinal_link

odds_link(values = values_odds_link)

values_odds_link

Arguments

values

For *_link(), a character string of possible values. See values_*_link in examples below.

Details

These parameters are used by ordinal regression models specified by parsnip::ordinal_reg(), for example parsnip::set_engine('polr'). The nomenclature is taken from Wurm et al (2021), who characterize the pair of functions as a composite link function. Note that different engines support different subsets of link functions.

References

Wurm, Michael J., Rathouz, Paul J., & Hanlon, Bret M. (2021). Regularized Ordinal Regression and the ordinalNet R Package. Journal of Statistical Software, 99(6), 1–42. 10.18637/jss.v099.i06

Examples

Run this code
values_ordinal_link
ordinal_link()
values_odds_link
odds_link()

Run the code above in your browser using DataLab