Plot EM Results {EMCluster} | R Documentation |
The functions plot two dimensional data for clusters.
plotem(emobj, x, main = NULL, xlab = NULL, ylab = NULL, ...) plot2d(x, emobj = NULL, k = NULL, color.pch = 1, append.BN = TRUE, ...)
emobj |
the desired model which is a list mainly contains |
x |
the data matrix, dimension n * p. |
main |
title of plot. |
xlab |
label of x-axis. |
ylab |
label of y-axis. |
... |
other parameters to the plot. |
k |
index for symbols. |
color.pch |
color and style for symbols. |
append.BN |
if appending bivariate normal ellipsoid. |
This a simple x-y lot.
A plot is returned.
Wei-Chen Chen wccsnow@gmail.com and Ranjan Maitra.
https://www.stat.iastate.edu/people/ranjan-maitra/
## Not run: library(EMCluster, quietly = TRUE) x1 <- da1$da ret.1 <- starts.via.svd(x1, nclass = 10, method = "em") summary(ret.1) plotem(ret.1, x1) ## End(Not run)