Plot EM Results | 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 |
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
init.EM
, emcluster
.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.