Create labels for d
d
This function creates labels for the model parameter d
.
create_labels_d(J, ordered)
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.A vector of labels for the model parameter d
of length J - 2
if ordered = TRUE
and NULL
otherwise.
Note that J
must be greater or equal 3
in the ordered probit model.
RprobitB:::create_labels_d(5, TRUE)
Useful links