Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/plot3d.ContinuousBiplot.R
Plots a classical biplot for continuous data.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## S3 method for class 'ContinuousBiplot'
plot3d(x, A1 = 1, A2 = 2, A3 = 3,
ShowAxis = TRUE, margin = 0, PlotVars = TRUE, PlotInd = TRUE,
WhatInds = NULL, WhatVars = NULL, LabelVars = TRUE,
LabelInd = TRUE, IndLabels = NULL, VarLabels = NULL,
mode = "a", CexInd = NULL, CexVar = NULL, ColorInd = NULL,
ColorVar = NULL, LabelPos = 1, SmartLabels = FALSE,
MinQualityInds = 0, MinQualityVars = 0.3, dp = 0,
PredPoints = 0, PlotAxis = FALSE, TypeScale = "Complete",
ValuesScale = "Original", SizeQualInd = FALSE,
SizeQualVars = FALSE, ColorQualInd = FALSE,
ColorQualVars = FALSE, PchInd = NULL, PchVar = NULL,
PlotClus = FALSE, TypeClus = "ch", ClustConf = 1,
ClustCenters = FALSE, UseClusterColors = TRUE,
PlotSupVars = TRUE, ...)
|
x |
An object of class "ContinuousBiplot"" |
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. |
ShowAxis |
Logical variable to control if the coordinate axes should appear in the plot. The default value is FALSE because for most of the biplots its presence is irrelevant. |
margin |
Margin for the labels in some of the biplot modes (percentage of the plot width). Default is 0. Increase the value if the labels are not completely plotted. |
PlotVars |
Logical to control if the Variables (Columns) are plotted. |
PlotInd |
Logical to control if the Individuals (Rows) are plotted. |
WhatInds |
Logical vector to control what individuals (Rows) are plotted. (Can be also a binary vector) |
WhatVars |
Logical vector to control what variables (Columns) are plotted. (Can be also a binary vector) |
LabelVars |
Logical to control if the labels for the Variables are shown |
LabelInd |
Logical to control if the labels for the individuals are shown |
IndLabels |
A set of labels for the individuals. If NULL the default object labels are used |
VarLabels |
A set of labels for the variables. If NULL the default object labels are used |
mode |
Mode of the biplot: "p", "a", "b", "h", "ah" and "s". |
CexInd |
Size for the symbols and labels of the individuals |
CexVar |
Size for the symbols and labels of the variables |
ColorInd |
Color for the symbols and labels of the individuals |
ColorVar |
Color for the symbols and labels of the variables |
LabelPos |
Position of the labels in relation to the point. (Se the graphical parameter |
SmartLabels |
Plot the labels in a smart way |
MinQualityInds |
Minimum quality of representation for an individual to be plotted |
MinQualityVars |
Minimum quality of representation for a variable to be plotted |
dp |
A set of indices with the variables that will show the projections of the individuals |
PredPoints |
A vector with integers. The row points listed in the vector are projected onto all the variables. |
PlotAxis |
Not Used |
TypeScale |
Type of scale to use : "Complete", "StdDev" or "BoxPlot" |
ValuesScale |
Values to show on the scale: "Original" or "Transformed" |
SizeQualInd |
Should the size of the row points be related to their qualities of representation (predictiveness)? |
SizeQualVars |
Should the size of the column points be related to their qualities of representation (predictiveness)? |
ColorQualInd |
Should the color of the row points be related to their qualities of representation (predictiveness)? |
ColorQualVars |
Should the color of the column points be related to their qualities of representation (predictiveness)? |
PchInd |
Symbol for the row points. See |
PchVar |
Symbol for the column points. See |
PlotClus |
Should the clusters be plotted? |
TypeClus |
Type of plot for the clusters. ("ch"- Convex Hull, "el"- Ellipse or "st"- Star) |
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 |
ClustCenters |
Should the cluster centers be plotted |
UseClusterColors |
Should the cluster colors be used in the plot |
PlotSupVars |
Should the supplementary variables be plotted? |
... |
Any other graphical parameters |
The parameters are the same as the ones for the 2D biblot.
A 3D Biplot
Jose Luis Vicente Villardon
1 2 3 | data(Protein)
bip=PCA.Biplot(Protein[,3:11])
plot3d.ContinuousBiplot(bip, mode="s", margin=0.2, ShowAxis=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.