PlotClustersBiplot: Plot clusters on a biplot.

Description Usage Arguments Details Value Author(s) See Also

Description

Highlights several groups or clusters on a biplot representation.

Usage

1
2
3
PlotClustersBiplot(A, Groups = Ones(c(nrow(A), 1)), TypeClus = "st", ClusterColors =
NULL, ClusterNames = NULL, centers = TRUE, ClustConf = 1, Legend = FALSE, LegendPos =
"topright", CexClustCenters = 1, ...)

Arguments

A

Coordinates of the points in the scattergram.

Groups

Factor defining the groups to be highlighted.

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 NULL the function selects the rainbow colors.

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 centers.

...

Any other graphical parameters.

Details

The clusters to plot should be added to the biplot object using the function AddClusterToBiplot.

Value

It takes effects on a plot.

Author(s)

Jose Luis Vicente-Villardon

See Also

AddClusterToBiplot


PERMANOVA documentation built on Sept. 6, 2021, 5:07 p.m.