parameter_labels: Create parameters labels

View source: R/model_evaluation.R

parameter_labelsR Documentation

Create parameters labels

Description

This function creates model parameter labels.

Usage

parameter_labels(
  P_f,
  P_r,
  J,
  C,
  cov_sym,
  ordered = FALSE,
  keep_par = c("s", "alpha", "b", "Omega", "Sigma", "d"),
  drop_par = NULL
)

Arguments

P_f

The number of covariates connected to a fixed coefficient (can be 0).

P_r

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

J

The number (greater or equal 2) of choice alternatives.

cov_sym

Set to TRUE for labels of symmetric covariance elements.

ordered

A boolean, FALSE per default. If TRUE, the choice set alternatives is assumed to be ordered from worst to best.

keep_par

A vector of parameter names which are kept.

drop_par

A vector of parameter names which get dropped.

Value

A list of labels for the selected model parameters.


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