简体   繁体   English

如何在使用 R 进行因子分析 (psych:fa) 后获得 RMSEA 值?

[英]How to get the RMSEA value after a Factor analysis (psych:fa) with R?

I did a factor analysis on a database using the fa function of the R psych package:我使用 R心理package 的fa function 对数据库进行了因子分析:

facto <- fa(df)

I managed to retrieve the RMSEA with facto$RMSEA:我设法用 facto$RMSEA 检索了 RMSEA:

For example:例如:

RMSEA均方根误差 lower降低 upper confidence信心
0.08014526 0.08014526 0.07886056 0.07886056 0.08162674 0.08162674 0.90000000 0.90000000

But I would like to retrieve only the first value (0.08).但我只想检索第一个值(0.08)。 Do you know how to access it?你知道如何访问它吗?

I don't see the wanted value in the fa function Rdocumentation我没有在fa function Rdocumentation中看到想要的值

I ended up discovering the answer.我最终找到了答案。 The RMSEA value is here: RMSEA 值在这里:

facto$RMSEA[["RMSEA"]]

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM