factplot {DASplusR} | R Documentation |
Plots the factor loadings of the different variables for each factor.
factplot(x, crit = 0.3, col = par("col"), cex = par("cex"), labs = NULL, labs.nchar = NULL, col.line = "gray32", lty = "dashed", lwd = 1, main = NULL, sub = NULL, ...)
x |
An object of class "factanal" . |
crit |
The critical value for plotting the factor loadings. Variables
with absolute values of the factor loadings less than or equal
to crit are not plotted. |
col |
The color to be used for labeling the variables. |
cex |
The character expansion factor to be applied to the variable labels. |
labs |
A character vector giving the labels for the variables. Its
length must be equal to the number of variables. The default is to use
the row names of x , or 1:n if the row names are NULL |
labs.nchar |
The maximum number of characters to be used for the labels
of the variables. Longer character strings are truncated. This is used
only if labs is missing and the row names of x are used as
labels. |
col.line |
The color for the lines at +/- 0.5 on the y-axis. |
lty |
The line type to be used for the lines at +/- 0.5
on the y-axis. It can be either an integer or a character string.
See par for possible values and their interpretation. |
lwd |
The width of the lines at +/- 0.5 on the y-axis. |
main |
The main title for the plot. |
... |
Additional graphical parameters. |
The x-axis is scaled according to the proportion of variability
explained by each factor. Note that the unexplained part of the variability
of each variable is excluded here. Hence the percentages of the cumulative
proportion of the explained variance shown in the plot are different from the
ones shown in the summary of the "factanal"
-object.
The y-axis is scaled from +1 to -1 and shows the factor loadings of the different variables entering each factor. Lines at +/- 0.5 help to see at one glance whether a variable is important or not.
A plot is produced on the current graphics device.
Andreas Alfons <andreas.alfons@student.tuwien.ac.at>
Reimann, C., Filzmoser, P., Garrett, R.G. and Dutter, R. (2008) Statistical Data Analysis Explained. Wiley & Sons.
FactplotGUI
, factanalDAS
,
biplotDAS
.
## KOLA95_Moss data data(KOLA95_MOSS) factanal.obj <- factanalDAS(data = KOLA95_MOSS, vars = c("Cu","Mg","Mn","Ni","Rb","Th"), logVars = c("Cu","Mg","Mn","Ni","Rb","Th"), factors = 3, robust = "covMcd", scores = "regression") factplot(factanal.obj)