View source: R/model_evaluation.R
create_labels_Omega | R Documentation |
Omega
This function creates labels for the model parameter Omega
.
create_labels_Omega(P_r, C, cov_sym)
P_r |
The number of covariates connected to a random coefficient (can be 0). |
cov_sym |
Set to |
The labels are of the form "c.p1,p2"
, where c
is the latent class
number and p1,p2
the indeces of two random coefficients.
A vector of labels for the model parameter Omega
of length
P_r^2 * C
if P_r > 0
and cov_sym = TRUE
or of length P_r*(P_r+1)/2*C
if cov_sym = FALSE
and NULL
otherwise.
RprobitB:::create_labels_Omega(2, 3, cov_sym = TRUE)
RprobitB:::create_labels_Omega(2, 3, cov_sym = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.