Learn R Programming

dials (version 1.4.5)

parallel_reg: Parallel regression assumption (logical)

Description

Whether the parallel regression assumption is imposed in an ordinal regression model.

Usage

parallel_reg(values = values_parallel_reg)

values_parallel_reg

Arguments

values

A vector of possible values (TRUE or FALSE).

Details

This parameter is used by ordinal regression models specified by parsnip::ordinal_reg(), for example with the "clm", "vglm", or "ordinalNet" engines. It controls whether the regression coefficients are shared across all ordinal thresholds (e.g. proportional odds in logit-linked models) or allowed to vary (generalized ordered logit). TRUE makes all effects parallel, FALSE makes all effects nominal or category-specific.

Examples

Run this code
values_parallel_reg
parallel_reg()

Run the code above in your browser using DataLab