Usage
## S3 method for class 'APResult,missing':
plot(x, y,
type=c("netsim", "dpsim", "expref"),
xlab="# Iterations",
ylab="Similarity", ...)
## S3 method for class 'APResult,matrix':
plot(x, y,
connect=TRUE, xlab="", ylab="", ...)
## S3 method for class 'APResult,data.frame':
plot(x, y,
connect=TRUE, xlab="", ylab="", ...)
## S3 method for class 'ExClust,missing':
plot(x, y, ...)
## S3 method for class 'ExClust,matrix':
plot(x, y,
connect=TRUE, xlab="", ylab="", ...)
## S3 method for class 'ExClust,data.frame':
plot(x, y,
connect=TRUE, xlab="", ylab="", ...)
## S3 method for class 'AggExResult,missing':
plot(x, y, main="Cluster dendrogram",
xlab="", ylab="Balanced avg. similarity to exemplar",
ticks=4, digits=2, ...)
## S3 method for class 'AggExResult,matrix':
plot(x, y, k=NA, h=NA, ...)
## S3 method for class 'AggExResult,data.frame':
plot(x, y, k=NA, h=NA, ...)
Arguments
x
a clustering result object of class
APResult
, ExClust
,
or AggExResult
y
a matrix or data frame (see details below)
type
a string or array of strings indicating which
performance measures should be plotted; valid values are
"netsim"
, "dpsim"
, and "expref"
which can be used in any combination or
xlab
label for x axis of plot; irrelevant for heatmaps
ylab
label for y axis of plot; irrelevant for heatmaps
connect
used only if clustering is plotted on original data,
ignored otherwise. If connect
is TRUE
, lines are
drawn connecting exemplars with their cluster members.
ticks
number of ticks used for the axis on the left side of the
plot (applies to dendrogram plots only, see below)
digits
number of digits used for the axis tickmarks on the left
side of the plot (applies to dendrogram plots only, see below)
k
level to be selected when plotting a single clustering
level of cluster hierarchy (i.e. the number of clusters; see
cutree-methods
) h
cut-off to be used when plotting a single clustering
level of cluster hierarchy (see cutree-methods
) ...
all other arguments are passed to the plotting command that
are used internally, plot
or
heatmap
.