Learn R Programming

mixpack (version 0.3.6)

dmixnorm: Density function of specified gaussian mixture model.

Description

Density function of specified gaussian mixture model.

Usage

dmixnorm(x, Pi, Mu, S, part = 1:length(Pi), closure = TRUE)

Arguments

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 part
closure
are probabilities Pi summing up to 1 (default TRUE)