View source: R/model_evaluation.R
create_labels_Sigma | R Documentation |
Sigma
This function creates labels for the model parameter Sigma
.
create_labels_Sigma(J, cov_sym, ordered = FALSE)
J |
The number (greater or equal 2) of choice alternatives. |
cov_sym |
Set to |
ordered |
A boolean, |
The labels are of the form "j1,j2"
, where j1,j2
are indices
of the two alternatives j1
and j2
.
A vector of labels for the model parameter Sigma
of length
(J-1)^2
if cov_sym = TRUE
or of length J*(J-1)/2
if cov_sym = FALSE
.
If ordered = TRUE
, Sigma
has only one element.
RprobitB:::create_labels_Sigma(3, cov_sym = TRUE)
RprobitB:::create_labels_Sigma(4, cov_sym = FALSE)
RprobitB:::create_labels_Sigma(4, ordered = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.