Draws a 2-dimensional “clusplot” (clustering plot) on the current graphics device. The generic function has a default and a
clusplot(x, ...) ## S3 method for class 'partition': clusplot((x, main = NULL, dist = NULL, ...))
- an R object, here, specifically an object of class
"partition", e.g. created by one of the functions
- title for the plot; when
NULL(by default), a title is constructed, using
xdoes not have a
datacomponent, e.g., for
distmust specify the dissimilarity for the clusplot.
- optional arguments passed to methods, notably the
clusplot.defaultmethod (except for the
dissone) may also be supplied to this function. Many graphical parameters (see
par) may also be supplied as arguments here.
If the clustering algorithms
clara are applied to a data matrix of observations-by-variables then a clusplot of the resulting clustering can always be drawn. When the data matrix contains missing values and the clustering is performed with
fanny, the dissimilarity matrix will be given as input to
clusplot. When the clustering algorithm
clara was applied to a data matrix with NAs then clusplot will replace the missing values as described in
clusplot.default, because a dissimilarity matrix is not available.
default) method: An invisible list with components
Shading, as for
clusplot.default, see there.
a 2-dimensional clusplot is created on the current graphics device.
Documentation reproduced from package cluster, version 2.0.3. License: GPL (>= 2)