kmmNames {MixAll} | R Documentation |
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:
Proportions can be equal or free.
Standard deviations are equal or free for all clusters.
Usage
kmmNames(prop = "all", sdBetweenCluster = "all")
kmmValidModelNames(names)
kmmValidKernelNames(names)
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 Name | Proportions | s. d. between clusters |
kmm_p_sk | equal | Free |
kmm_p_s | equal | Equal |
kmm_pk_sk | equal | Free |
kmm_pk_s | equal | Equal |
Value
A vector of character with the model names.
TRUE if the names in the vector names are valid, FALSE otherwise.
Examples
kmmNames()
## same as c("kmm_p_sk")
kmmNames( prop = "equal", sdBetweenCluster= "free")
[Package MixAll version 1.5.16 Index]