plot-methods | R Documentation |
Plot an object of class "Fa". If which = "factorScore", then a scatterplot of the factor scores is produced; if which = "screeplot", shows the eigenvalues and is helpful to select the number of factors.
## S4 method for signature 'Fa'
plot(x, which=c("factorScore", "screeplot"), choices=1:2)
x |
an object of class |
which |
indicate what kind of plot. If |
choices |
an integer vector indicate which columns of the factor scores to plot |
The feasible usages are:
plot(x, which="factorScore", choices=1:2)
plot(x, which="screeplot")
signature(x = "Fa", y = "missing")
generic functions - see plot
Ying-Ying Zhang (Robert) robertzhangyying@qq.com
Zhang, Y. Y. (2013), An Object Oriented Solution for Robust Factor Analysis.
data("hbk")
hbk.x = hbk[,1:3]
faClassicPcaReg = FaClassic(x = hbk.x, factors = 2, method = "pca",
scoresMethod = "regression"); faClassicPcaReg
summary(faClassicPcaReg)
plot(faClassicPcaReg, which = "factorScore", choices = 1:2)
plot(faClassicPcaReg, which = "screeplot")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.