View source: R/mixture_function.R

Density function of specified gaussian mixture model.

1 |

`x` |
vector/matrix where density function is evaluated |

`Pi` |
a vector indicating the mixing proportions |

`Mu` |
a two dimensional array where second component indicates the mean of each gaussian component |

`S` |
a three dimensional array where third component indicates the variance of each gaussian component |

`part` |
subcomposition where x shoud be evaluated. Take into an account that
if x has dimensions K, K components must be selected by |

`closure` |
are probabilities Pi summing up to 1 (default TRUE) |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.