clusplot.partition.RdDraws a 2-dimensional “clusplot” (clustering plot) on the
current graphics device.
The generic function has a default and a partition method.
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
pam, clara, or fanny.
title for the plot; when NULL (by default), a title
is constructed, using x$call.
when x does not have a diss nor a
data component, e.g., for pam(dist(*),
keep.diss=FALSE), dist must specify the dissimilarity for the
clusplot.
optional arguments passed to methods, notably the
clusplot.default method (except for the diss
one) may also be supplied to this function. Many graphical parameters
(see par) may also be supplied as arguments here.
a 2-dimensional clusplot is created on the current graphics device.
For the partition (and default) method: An invisible
list with components Distances and Shading, as for
clusplot.default, see there.
The clusplot.partition() method relies on clusplot.default.
If the clustering algorithms pam, fanny and 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 pam or 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.
clusplot.default for references;
partition.object, pam,
pam.object, clara,
clara.object, fanny,
fanny.object, par.