I did a factor analysis on a database using the fa function of the R psych package:
facto <- fa(df)
I managed to retrieve the RMSEA with facto$RMSEA:
For example:
RMSEA | lower | upper | confidence |
---|---|---|---|
0.08014526 | 0.07886056 | 0.08162674 | 0.90000000 |
But I would like to retrieve only the first value (0.08). Do you know how to access it?
I don't see the wanted value in the fa function Rdocumentation
I ended up discovering the answer. The RMSEA value is here:
facto$RMSEA[["RMSEA"]]
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.