View source: R/Final_functions.R
RMMplot | R Documentation |
A plot function for Robust Mixture Model
RMMplot(a,outliers=TRUE,
graph=c('Two_Dim','Two_Dim_Uncertainty','ICL','BIC',
'Profiles','Uncertainty'),bestresult=TRUE,K=FALSE)
a |
Output from |
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 |
graph |
A string specifying the type of graph requested.
Default is |
bestresult |
A logical indicating if the graphs must be done for the result chosen by the selected criterion. Default is |
K |
A logical or positive integer giving the chosen number of clusters for each the graphs should be drawn. |
See also RobMM
and Gen_MM
.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.