'Order loading factor solutions in arithmetically and not by importance in R with 'fa' function
I am trying to perform factor analysis in R with the fa function. Let's say I want to extract 5 factors in the following example with the Promax rotation and with principal factor axis as factoring method. I am using the following code
data <- matrix(rnorm(100 * 10, mean = 0, sd = 1), 100, 10)
colnames(data) <-
c("X1", "X2", "X3", "X4", "X5", "X6", "X7", "X8", "X9", "X10")
fa(r=data, nfactors = 6, rotate = "promax", fm="pa",warnings = TRUE)
If I understand correctly, in the standardized loadings i get the principal solution (PA) in order from the most important to the least one. Is there a way to order them as PA1, PA2, PA3, PA4, PA5. ?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
