fsOrder: Compute the Ordered Factor Scores

View source: R/fsOrder.R

fsOrderR Documentation

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.

Author(s)

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

References

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

See Also

order

Examples


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


robustfa documentation built on April 16, 2023, 5:18 p.m.