RMMplot {RGMM}R Documentation

RMMplot

Description

A plot function for Robust Mixture Model

Usage

RMMplot(a,outliers=TRUE,
    graph=c('Two_Dim','Two_Dim_Uncertainty','ICL','BIC',
    'Profiles','Uncertainty'),bestresult=TRUE,K=FALSE)

Arguments

a

Output from RobMM.

outliers

An argument telling if there are outliers or note. In this case, Two dimensional plots and profiles plots will be done without detected outliers. Default is TRUE.

graph

A string specifying the type of graph requested. Default is c('Two_Dim','Two_Dim_Uncertainty','ICL','BIC', 'Profiles','Uncertainty').

bestresult

A logical indicating if the graphs must be done for the result chosen by the selected criterion. Default is TRUE.

K

A logical or positive integer giving the chosen number of clusters for each the graphs should be drawn.

See Also

See also RobMM and Gen_MM.

Examples

## Not run: 
ech <- Gen_MM(mu = matrix(c(rep(-2,3),rep(2,3),rep(0,3)),byrow = TRUE,nrow=3))
 X <- ech$X
 res <- RobMM(X , nclust=3)
 RMMplot(res,graph=c('Two_Dim'))
 
## End(Not run)

[Package RGMM version 2.1.0 Index]