View source: R/MixtureFitting.R
gmm_merge_components | R Documentation |
Merges ith and jth components of Gaussian mixture
model. Implemented in the same venue as in
mergeparameters
of fpc
.
gmm_merge_components( x, p, i, j )
x |
data vector |
p |
vector of Gaussian mixture parameters. Structure of p vector is p = c( A1, A2, ..., An, mu1, mu2, ..., mun, k1, k2, ..., kn ), where n is number of mixture components, Ai is the proportion of i-th component, mui is the center of i-th component, ki is the concentration of i-th component. |
i |
index of the first component to be merged. Component with this index will be replaced by a merged one in the output. |
j |
index of the second component to be merged. Component with this index will be removed in the output. |
Vector of mixture parameters, whose structure is the same as of input parameter's p.
Andrius Merkys
Hennig, C. Methods for merging Gaussian mixture components Advances in Data Analysis and Classification, Springer Nature, 2010, 4, 3-34
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.