create_labels_b function

Create labels for b

Create labels for b

This function creates labels for the model parameter b.

create_labels_b(P_r, C)

Arguments

  • P_r: The number of covariates connected to a random coefficient (can be 0).

Returns

A vector of labels for the model parameter b of length P_r * C

if P_r > 0 and NULL otherwise.

Details

The labels are of the form "c.p", where c is the latent class number and p the index of the random coefficient.

Examples

RprobitB:::create_labels_b(2, 3)