plotMclust: Plots the Gaussian fitted by 'Mclust'

Description Usage Arguments Details Value Author(s) Examples

Description

Given a result of function Mclust applied on a numeric vector, this function add the fitted Gaussian to a previous plot. This is an internal function called by plotPosSamplesInComp.

Usage

1

Arguments

mc

The result of Mclust function applied to argument data

data

The vector of numeric values on which was applied Mclust

Details

This function can only deal with at the most three Gaussian.

Value

NULL

Author(s)

Anne Biton

Examples

1
2
3
4
5
6
7
## create a mix of two Gaussian
v <-c(rnorm(80,mean=-0.5,sd=1),rnorm(80,mean=1,sd=0.2))
## apply Mclust
mc <- Mclust(v)
## plot fitted Gaussian on histogram of v
hist(v, freq=FALSE)
MineICA:::plotMclust(mc=mc,data=v)

MineICA documentation built on Nov. 8, 2020, 5:35 p.m.