Learn R Programming

MixAll (version 1.5.10)

clusterCategoricalNames: 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)

Value

A vector of character with the model 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 NameProportionsProbabilities between variables
categorical_p_pjkEqualFree
categorical_p_pkEqualEqual
categorical_pk_pjkFreeFree
categorical_pk_pkFreeEqual

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