Plot Multivariate Data | R Documentation |
The function plots multivariate data for clusters as the parallel coordinates plot.
plotmd(x, class = NULL, xlab = "Variables", ylab = "Data", ...)
x |
the data matrix, dimension |
class |
class id for all observations. |
xlab |
label of x-axis. |
ylab |
label of y-axis. |
... |
other parameters to the plot. |
This a simplified parallel coordinate plot.
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)
set.seed(1234)
x <- as.matrix(iris[, 1:4], ncol = 4)
ret <- em.EM(x, nclass = 5)
plotmd(x, ret$class)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.