clusterCategoricalNames {MixAll}R Documentation

Create a vector of Categorical mixture model names.

Description

In a Categorical mixture model, we can build 4 models:

  1. The proportions can be equal or free

  2. 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

Details

The model names are summarized in the following array:

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

Value

A vector of character with the model names.

Examples

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


[Package MixAll version 1.5.16 Index]