Learn R Programming

robustfa (version 1.0-4)

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)

Arguments

factorScores
The original factor scores.

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.

References

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

See Also

order

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