Learn R Programming

FIACH (version 0.1.2)

plot.gmm: Plot a Gaussian Mixture Model

Description

Plots an object of class gmm(Gaussian Mixture Model).

Usage

"plot"(x,...)

Arguments

x
an object of class gmm
...
Graphical parameters passed to plot command.

Examples

Run this code

test<-c(rnorm(1000),rnorm(1000,mean = 3,sd = 1))
hist(test)
a<-gmm(test,2)
plot(a)

Run the code above in your browser using DataLab