Learn R Programming

rtkpp (version 0.8.5)

clusterCategoricalNames: Build a vector of Categorical model names.

Description

In a Categorical model, we can build 4 models:
  1. The proportions can be equal or free.
The probabilities can be equal or free for all the variables.

Usage

clusterCategoricalNames(prop = "all", probabilities = "all")

clusterValidCategoricalNames(names)

Arguments

prop
A character string equal to "equal", "free" or "all". Default is "all".
probabilities
A character string equal to "equal", "free" or "all". Default is "all".
names
a vector of character

Value

  • A vector of character with the model names.

Details

The model names are summarized in the following array: lll{ Model Name Proportions Probabilities between variables categorical_p_pjk Equal Free categorical_p_pk Equal Equal categorical_pk_pjk Free Free categorical_pk_pk Free Equal }

Examples

Run this code
clusterCategoricalNames()
clusterCategoricalNames("all", "equal") # same as c( "categorical_pk_pk", "categorical_p_pk")

Run the code above in your browser using DataLab