| plot-methods {flexclust} | R Documentation |
Plot the neighbourhood graph of a cluster solution together with projected data points.
## S4 method for signature 'kcca, missing':
plot(x, y, which=1:2, project=NULL,
data=NULL, points=!is.null(data),
hull=!is.null(data), hull.args=NULL,
number = TRUE, simlines=TRUE,
lwd=1, maxlwd=8*lwd, cex=1.5, numcol="black", nodes=16,
add=FALSE, xlab="", ylab="", xlim = NULL,
ylim = NULL, pch=NULL, col=NULL, ...)
flxColors(n=1:8, saturation=c("full","light"))
x |
an object of class "kcca" |
y |
not used |
which |
Index numbers of dimensions of (projected) input space to plot. |
project |
Projection object for which a predict method
exists, e.g., the result of prcomp. |
data |
Data to include in plot. |
points |
Logical, shall data points be plotted? |
hull |
If TRUE, then hulls of confidence regions of
the data are plotted. If a function, it is used for plotting the
hulls. |
hull.args |
A list of arguments for the hull function. |
number |
Logical, plot number labels in nodes of graph? |
numcol, cex |
Color and size of number labels in nodes of graph. |
nodes |
Plotting symbol to use for nodes if no numbers are drawn. |
simlines |
Logical, plot edges of graph? |
lwd, maxlwd |
Numerical, thickness of lines. |
add |
Logical, add to existing plot? |
xlab, ylab |
Axis labels. |
xlim, ylim |
Axis range. |
pch, col, ... |
Plotting symbols and colors for data points. |
n, saturation |
Index numbers and saturation of colors. |
This works only for "kcca" objects, no method is available for
"kccasimple" objects.
Friedrich Leisch