plot3dCanonicalBiplot: 3D Canonical Biplot

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/plot3dCanonicalBiplot.R

Description

Plots a 3D Canonical Biplot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plot3dCanonicalBiplot(Bip, A1 = 1, A2 = 2, A3 = 3, ScaleGraph = TRUE, 
PlotGroups = TRUE, PlotVars = TRUE, PlotInd = TRUE, LabelInd = TRUE, 
CexGroup = 1, PchGroup = 16, margin = 0.1, AddLegend = FALSE, 
ShowAxes = FALSE, LabelAxes = TRUE, LabelGroups = TRUE, PlotCircle = TRUE, 
ConvexHulls = FALSE, TypeCircle = "M", ColorGroups = NULL, ColorVars = NULL,
LegendPos = "topright", ColorInd = NULL, mode = "a", 
TypeScale = "Complete", ValuesScale = "Original", MinQualityVars = 0, 
dpg = 0, dpi = 0, PredPoints = 0, PlotAxis = FALSE, CexInd = NULL, 
CexVar = NULL, PchInd = NULL, PchVar = NULL, ColorVar = NULL, 
ShowAxis = TRUE, ColorAxis = "gray", ...)

Arguments

Bip

An object of class "Canonical Biplot"

A1

Dimension for the first axis. 1 is the default.

A2

Dimension for the second axis. 2 is the default.

A3

Dimension for the third axis. 3 is the default.

ScaleGraph

Reescale the coordinates to optimal matching.

PlotGroups

Shoud the group centers be plotted?

PlotVars

Should the variables be plotted?

PlotInd

Should the individuals be plotted?

LabelInd

Should the individuals be labeled?

CexGroup

Sizes of the points for the groups

PchGroup

Markers for the group

margin

margin for the graph

AddLegend

Should a legend with the groups be added?

ShowAxes

Should outside axes be shown?

LabelAxes

Should outside axes be labelled?

LabelGroups

Should the groups be labeled?

PlotCircle

Should the confidence regions for the groups be plotted?

ConvexHulls

Should the convex hulls containing the individuals for each group be plotted?

TypeCircle

Type of confidence region: Univariate (U), Bonferroni(B), Multivariate (M) or Classical (C)

ColorGroups

User colors for the groups. Default colors will be used if NULL.

ColorVars

User colors for the variables. Default colors will be used if NULL.

LegendPos

Position of the legend.

ColorInd

User colors for the individuals. Default colors will be used if NULL.

mode

Mode of the biplot: "p", "a", "b", "h", "ah" and "s".

TypeScale

Type of scale to use : "Complete", "StdDev" or "BoxPlot"

ValuesScale

Values to show on the scale: "Original" or "Transformed"

MinQualityVars

Minimum quality of representation for a variable to be plotted

dpg

A set of indices with the variables that will show the projections of the gorups

dpi

A set of indices with the variables that will show the projections of the individuals

PredPoints

A vector with integers. The group centers listed in the vector are projected onto all the variables.

PlotAxis

Not Used

CexInd

Size of the points for individuals.

CexVar

Size of the points for variables.

PchInd

Marhers of the points for individuals.

PchVar

Markers of the points for variables.

ColorVar

Colors of the points for variables.

ShowAxis

Should axis scales be shown?

ColorAxis

Color of the axis

...

Any aditional graphical parameters

Details

The parameters are the same as in the 2D Canonical Biplot.

Value

A 3D Canonical Biplot

Author(s)

Jose Luis Vicente Villardon

See Also

plot.Canonical.Biplot

Examples

1
2
3
4
data(wine)
X=wine[,4:21]
canbip=CanonicalBiplot(X, group=wine$Group)
plot3dCanonicalBiplot(canbip, TypeCircle="M")

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