Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/plot3dCanonicalBiplot.R
Plots a 3D Canonical Biplot
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", ...)
|
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 |
The parameters are the same as in the 2D Canonical Biplot.
A 3D Canonical Biplot
Jose Luis Vicente Villardon
1 2 3 4 | data(wine)
X=wine[,4:21]
canbip=CanonicalBiplot(X, group=wine$Group)
plot3dCanonicalBiplot(canbip, TypeCircle="M")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.