biplot.psych {psych} | R Documentation |
Applies the biplot function to the output of fa
or principal
. Will plot factor scores and factor loadings in the same graph. If the number of factors > 2, then all pairs of factors are plotted. Factor score histograms are plotted on the diagonal. The input is the resulting object from fa
or principal
with the scores=TRUE option.
## S3 method for class 'psych' biplot(x, labels=NULL,cex=c(.75,1),main="Biplot",hist.col="cyan",xlim=c(-3,3),ylim=c(-3,3),...)
x |
|
labels |
if NULL, draw the points with small o. To identify the data points, specify labels= 1:n where n is the number of observations, or labels =rownames(data) where data was the data set analyzed by the factor analysis. |
cex |
plot size of the data points and of the factor labels |
main |
A main title for a two factor biplot |
hist.col |
If plotting more than two factors, the color of the histogram of the factor scores |
xlim |
Defaults to plus/minus three sigma |
ylim |
Defaults to plus/minus three sigma |
... |
more options for graphics |
Uses the generic biplot function to take the output of a factor analysis fa
or principal components analysis principal
and plot the factor/component scores along with the factor/component loadings.
William Revelle
fa
, principal
, factor.plot
, pairs.panels
data(USArrests) fa2 <- fa(USArrests,2,scores=TRUE) biplot(fa2,labels=rownames(USArrests)) data(bfi) fa3 <- fa(bfi[1:200,1:15],3,scores=TRUE) biplot(fa3)