plotClusters {clues} | R Documentation |
Plot scatter plot of clusters in a specified two dimensional space.
plotClusters(y, mem, plot.dim = c(1, 2))
y |
data matrix with rows being a collection of observations and columns being a list of variables. |
mem |
vector of the cluster membership of data points. The cluster member ship takes values: 1, 2, ..., g, where g is the estimated number of clusters. |
plot.dim |
specifies the two dimensions to be plot. |
Wang, S., Qiu, W., and Zamar, R. H. (2007). CLUES: A non-parametric clustering method based on local shrinking. Computational Statistics & Data Analysis, Vol. 52, issue 1, pages 286-298.
# ruspini data data(Ruspini) ruspini <- Ruspini$ruspini ruspini.mem <- Ruspini$ruspini.mem plotClusters(ruspini, ruspini.mem, plot.dim = c(1, 2))