clusterCategoricalNames: Create a vector of Categorical mixture model names.

Description Usage Arguments Details Value Examples

View source: R/ClusterModelNames.R

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

1
2
3
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

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

MixAll documentation built on Sept. 7, 2019, 3 a.m.