Create labels for Omega
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 TRUE
for labels of symmetric covariance elements.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.
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.
RprobitB:::create_labels_Omega(2, 3, cov_sym = TRUE) RprobitB:::create_labels_Omega(2, 3, cov_sym = FALSE)
Useful links