DensityBiplot: Adds Non-parametric densities to a biplot. Separated...

Description Usage Arguments Details Value Author(s) References Examples

View source: R/DensityBiplot.R

Description

Adds Non-parametric densities to a biplot. Separated densities are calculated for different clusters

Usage

1
2
DensityBiplot(X, y = NULL, grouplabels = NULL, ncontours = 6, 
groupcolors = NULL, ncolors=20, ColorType=4)

Arguments

X

Two dimensional coordinates of the points in a biplot (or any other)

y

A factor containing clusters or groups for separate densities.

grouplabels

Labels for the groups

ncontours

Number of contours to represent on the biplot

groupcolors

Colors for the groups

ncolors

Number of colors for the density patterns

ColorType

One of the following: "1" = rainbow, "2" = heat.colors, "3" = terrain.colors, "4" = topo.colors, "5" = cm.colors

Details

Non parametric densities are used to investigate the concentration of row points on different areas of the biplot representation. The densities can be calculated for different groups or clusters in order to investigate if individuals with differnt characteristics are concentrated on particular areas of the biplot. The procedure is particularly useful with a high number of individuals.

Value

No value returned. It has effect on the graph.

Author(s)

Jose Luis Vicente Villardon

References

Gower, J. C., Lubbe, S. G., & Le Roux, N. J. (2011). Understanding biplots. John Wiley & Sons.

Examples

1
2
bip=PCA.Biplot(iris[,1:4])
plot(bip, mode="s", CexInd=0.1)

villardon/MultBiplotR documentation built on June 5, 2021, 8:55 a.m.