EMCluster (version 0.2-12)

Plot Multivariate Data: Plot Multivariate Data

Description

The function plots multivariate data for clusters as the parallel coordinates plot.

Usage

plotmd(x, class = NULL, xlab = "Variables", ylab = "Data", ...)

Arguments

x

the data matrix, dimension \(n\times p\).

class

class id for all observations.

xlab

label of x-axis.

ylab

label of y-axis.

other parameters to the plot.

Value

A plot is returned.

Details

This a simplified parallel coordinate plot.

References

https://www.stat.iastate.edu/people/ranjan-maitra/

See Also

init.EM, emcluster.

Examples

Run this code
# NOT RUN {
library(EMCluster, quietly = TRUE)
set.seed(1234)

x <- myiris
ret <- em.EM(x, nclass = 5)
plotmd(x, ret$class)
# }

Run the code above in your browser using DataLab