BiplotMain {DASplusR} | R Documentation |
Main Dialog for the Biplot
Description
Main dialog for creating a biplot. The function biplotDAS
is executed
to produce the plot when the OK button is clicked.
Usage
## DAS+R GUI:
Check the 'Biplot' checkbox in the PCA or FA dialog, or
use 'Advanced --> Biplot' in the DAS+R menu and select
an object.
## R Function Usage:
BiplotMain(objName)
Arguments
objName |
The name of an object of class "princomp" or
"factanal" as a character string. |
Dialog Elements
- Title:
- Entry field for the plot title.
- Details:
- Clicking this radiobutton opens a dialog for specifying
further details on the plot title and the axis labels.
- Variables:
- Select the x- and y-variable from the
corresponding listboxes. Note that the same component or factor cannot
be used for both variables.
- Scores Details:
- The observations are represented by a
scatterplot of the scores, which allows the following options to be set:
- Color:
- A color from the currently used color menu can be selected
from the the drop-down list. Alternatively, the Select Color
dialog can be opened by clicking the radiobutton on the right, and
the color for the scores can be selected there. The box around the
plot area is drawn in the same color as the scores.
- Symbol:
- In very much the same manner, the symbol to represent the
scores in the scatterplot can be selected. The drop-down list
contains all symbols of the currently used symbol set. Either choose
a symbol from the drop-down list, or open the Select Symbol
dialog by clicking the radiobutton on the right, and select the symbol
there. The only difference from selecting a color is that the
drop-down list also contains the element
<ID>
. Data sets of
class "DASData"
usually have one column containing the sample
identifications. In this case, these identifications are used to label
the scores. If the active data set is of class "data.frame"
or
does not have such a column, the row names are used as labels. By
default, the row names contain the observation numbers.
- Symbol Size:
- Entry field for the symbol size.
- Loadings Details:
- The variables that have been entered into PCA or
FA are represented by a scatterplot of their loadings. Hence the variable
names are used as labels here. In addition, arrows are drawn. These
are very useful for interpreting the plot. The length of an arrow
is directly proportional to the variability of the corresponding variable
included in the two components or factors, and the angle between any two
arrows is a measure for the correlation between these variables. The
following options can be set:
- Color:
- The color for the labels and arrows (and the tickmarks
of the axes belonging to the loadings) can be selected like the
color for the scores.
- Label Length:
- Enter the maximum number of characters of the
variable names to be used for labeling the loadings. Longer
names will be truncated.
- Label Size:
- Entry field for the size of the labels.
- Arrow Head Length:
- The length of the arrow heads can be
adjusted using this entry field. If 0 is entered, no
arrow heads are plotted.
- Default:
- Resets all the dialog elements to their default values.
- OK:
- Closes the dialog and executes
biplotDAS
to produce the
plot.
- Cancel:
- Closes the dialog without executing
biplotDAS
.
- Help:
- Shows this help file.
Side Effects
A plot is produced on the current graphics device.
Author(s)
Andreas Alfons <andreas.alfons@student.tuwien.ac.at>
References
Gabriel, K.R. (1971) The biplot graphical display of matrices with
application to principal component analysis. Biometrika,
58, 453–467.
Reimann, C., Filzmoser, P., Garrett, R.G. and Dutter, R. (2008)
Statistical Data Analysis Explained. Wiley & Sons.
See Also
biplotDAS
, BiplotGUI
,
BiplotDetails
, PrincompGUI
,
ScreeplotGUI
, FactanalGUI
,
FactplotGUI
.
[Package
DASplusR version 0.0-2
Index]