plotClusters {clues} | R Documentation |
Scatter plots of clusters in specified dimensions. If more than two dimensions are specified, pair-wise scatter plots will be plotted.
plotClusters(y, mem, plot.dim = NULL, xlab = NULL, ylab = NULL, xlim = NULL, ylim = NULL, cex = NULL, cex.points = 1, ...)
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 membership takes values: 1, 2, …, g, where g is the estimated number of clusters. |
plot.dim |
specifies the dimensions to be plot. If |
xlab |
a title for the x axis. If |
ylab |
a title for the y-axis. If |
xlim |
range of x-axis. If |
ylim |
range of y-axis. If |
cex |
A numerical value giving the amount by which plotting text
and symbols should be magnified relative to the default. (see |
cex.points |
A numerical value indicating the pointsize for points in clusters 2, 3, ..., g. Note points in cluster 1 won't be affected. This will help to visualize the overlap among clusters. |
... |
graphical parameters (see |
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.
# Maronna data set data(Maronna) # data matrix maronna <- Maronna$maronna # cluster membership maronna.mem <- Maronna$maronna.mem plotClusters(maronna, maronna.mem)