create_labels_Omega: Create labels for 'Omega'

View source: R/model_evaluation.R

create_labels_OmegaR Documentation

Create labels for Omega

Description

This function creates labels for the model parameter Omega.

Usage

create_labels_Omega(P_r, C, cov_sym)

Arguments

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.

Details

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.

Value

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.

Examples

RprobitB:::create_labels_Omega(2, 3, cov_sym = TRUE)
RprobitB:::create_labels_Omega(2, 3, cov_sym = FALSE)

loelschlaeger/RprobitB documentation built on Oct. 15, 2024, 11:08 a.m.