dmixnorm: Density function of specified gaussian mixture model.

Description Usage Arguments

View source: R/mixture_function.R

Description

Density function of specified gaussian mixture model.

Usage

1
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)


mcomas/mixpack documentation built on May 22, 2019, 3:14 p.m.