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.

check if a vector of Poisson mixture model name is correct.

Usage

1
2
3

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 Name Proportions Mean between variables
poisson_p_ljk Equal Free
poisson_p_lk Equal Equal
poisson_p_ljlk Equal Proportional
poisson_pk_ljk Free Free
poisson_pk_lk Free Equal
poisson_pk_ljlk Free Proportional

Value

A vector of character with the model names.

Examples

1
2
clusterPoissonNames()
clusterPoissonNames("all", "proportional") # same as c( "poisson_pk_ljlk", "poisson_p_ljlk")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.