create_labels_d: Create labels for 'd'

View source: R/model_evaluation.R

create_labels_dR Documentation

Create labels for d

Description

This function creates labels for the model parameter d.

Usage

create_labels_d(J, ordered)

Arguments

J

The number (greater or equal 2) of choice alternatives.

ordered

A boolean, FALSE per default. If TRUE, the choice set alternatives is assumed to be ordered from worst to best.

Details

Note that J must be greater or equal 3 in the ordered probit model.

Value

A vector of labels for the model parameter d of length J - 2 if ordered = TRUE and NULL otherwise.

Examples

RprobitB:::create_labels_d(5, TRUE)

RprobitB documentation built on May 29, 2024, 7:59 a.m.