View source: R/MixtureFitting.R
dgmm | R Documentation |
Density function for the Gaussian mixture distribution.
dgmm( x, p, normalise_proportions = FALSE, restrict_sigmas = FALSE, implementation = "C" )
x |
data vector |
p |
parameter vector of 3*n parameters, where n is number of mixture components. Structure of p vector is p = c( A1, A2, ..., An, mu1, mu2, ..., mun, sigma1, sigma2, ..., sigman ), where Ai is the proportion of i-th component, mui is the location of i-th component, sigmai is the scale of i-th component. |
normalise_proportions |
if TRUE, make component proportions sum up to 1 by dividing each one of them by their sum (R implementation only). |
restrict_sigmas |
if TRUE, skip components with scales less or equal to zero (R implementation only). |
implementation |
flag to switch between C (default) and R implementations. |
A vector.
Andrius Merkys
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.