Learn R Programming

MixAll (version 1.5.10)

clusterPoissonNames: Create a vector of Poisson mixture model names.

Description

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

  1. The proportions can be equal or free

  2. The means can be equal, free or proportional for all the variables

Usage

clusterPoissonNames(prop = "all", mean = "all")

clusterValidPoissonNames(names)

Value

A vector of character with the model names.

Arguments

prop

A character string equal to "equal", "free" or "all". Default is "all".

mean

A character string equal to "equal", "free", "proportional or "all". Default is "all".

names

a vector of character

Details

The model names are summarized in the following array:

Model NameProportionsMean between variables
poisson_p_ljkEqualFree
poisson_p_lkEqualEqual
poisson_p_ljlkEqualProportional
poisson_pk_ljkFreeFree
poisson_pk_lkFreeEqual
poisson_pk_ljlkFreeProportional

Examples

Run this code
clusterPoissonNames()
clusterPoissonNames("all", "proportional") # same as c( "poisson_pk_ljlk", "poisson_p_ljlk")

Run the code above in your browser using DataLab