Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/PlotBiplotClusters.R
Highlights several groups or clusters on a biplot representation.
1 2 3 4 |
A |
Coordinates of the points in the scattergram |
Groups |
Factor defining the groups to be highlited |
TypeClus |
Type of representation of the clusters. For the moment just a convex hull but in the future ellipses and stars will be added. |
ClusterColors |
A vector of colors with as many elements as clusters. If |
ClusterNames |
A vector of names with as many elements as clusters. |
centers |
Logical variable to control if centres of the clusters are plotted |
ClustConf |
Percent of points included in the cluster. only the ClusConf percent of the points nearest to the center will be used to calculate the cluster |
Legend |
Should a legend be plotted |
LegendPos |
Position of the legend. |
CexClustCenters |
Size of the cluster centres. |
... |
Any other graphical parameters |
The clusters to plot should be added to the biplot object using the function AddCluster2Biplot
.
It takes effects on a plot
Jose Luis Vicente Villardon
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.