Learn R Programming

robustfa (version 1.1-0)

fsOrder: Compute the Ordered Factor Scores

Description

Compute the ordered factor scores according to the first/second/third... column of the original factor scores.

Usage

fsOrder(factorScores)

Value

A list with m (the number of factors) components:

[[1]]

The ordered factor scores with a decreasing first column.

[[2]]

The ordered factor scores with a decreasing second column.

...

[[m]]

The ordered factor scores with a decreasing m-th column.

Arguments

factorScores

The original factor scores.

Author

Ying-Ying Zhang (Robert) robertzhangyying@qq.com

References

Zhang, Y. Y. (2013), An Object Oriented Solution for Robust Factor Analysis.

See Also

Examples

Run this code

data(stock611)
R611=cor(stock611[,3:12]); R611

## FS.pca contains scores etc.
fsPca=factorScorePca(x = stock611[,3:12], factors = 2, cor = TRUE, 
rotation = "varimax", scoresMethod = "regression"); fsPca

orderedFS=fsOrder(fsPca$scores); orderedFS

Run the code above in your browser using DataLab