Description Usage Arguments Details Side Effects See Also
Plot a biplot of a clustering solution on the current graphics device.
1 2 3 4 5 |
pc |
The |
clsAsgn |
A vector containing the cluster assignment for each record in the clustering data. |
data.pts |
If |
centroids |
If |
choices |
length 2 vector specifying the components to plot. |
scale |
The variables scaled by |
pc.biplot |
If true, then |
var.axes |
If |
col |
A vector of length 2 giving the colours for the first and
second set of points respectively (and the corresponding axes). If a
single colour is specified it will be used for both sets. If
missing the default colour is looked for in the
|
cex |
The character expansion factor used for labelling the points. The labels can be of different sizes for the two sets by supplying a vector of length two. |
xlabs |
A vector of character strings to label the first set of
points: the default is to use the row dimname of |
ylabs |
A vector of character strings to label the second set of
points: the default is to use the row dimname of |
expand |
An expansion factor to apply when plotting the second set of points relative to the first. This can be used to tweak the scaling of the two sets to a physically comparable scale. |
arrow.len |
The length of the arrow heads on the axes plotted in
|
xlim, ylim |
Limits for the x and y axes in the units of the first set of variables. |
main, sub, xlab, ylab, ... |
graphical parameters. |
This function is a reworking of biplot
in order to allow the cluster
centroids of a clustering solution to be displayed as well as the individual
data points. If both data.pts
and centroids
are set to
FALSE
then only the variable directional vectors are displayed.
Graphical parameters can also be given to biplot
.
a plot is produced on the current graphics device.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.