Learn R Programming

MixAll (version 1.5.10)

kmmNames: Create a vector of Kernel mixture model (KMM) names.

Description

In a Kernel mixture model, sssumptions on the proportions and standard deviations give rise to 4 models:

  1. Proportions can be equal or free.

  2. Standard deviations are equal or free for all clusters.

Usage

kmmNames(prop = "all", sdBetweenCluster = "all")

kmmValidModelNames(names)

kmmValidKernelNames(names)

Value

A vector of character with the model names.

TRUE if the names in the vector names are valid, FALSE otherwise.

Arguments

prop

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

sdBetweenCluster

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

names

a vector of character with the names to check

Details

The model names are summarized in the following array:

Model NameProportionss. d. between clusters
kmm_p_skequalFree
kmm_p_sequalEqual
kmm_pk_skequalFree
kmm_pk_sequalEqual

Examples

Run this code
kmmNames()
## same as c("kmm_p_sk")
kmmNames( prop = "equal", sdBetweenCluster= "free")

Run the code above in your browser using DataLab