Extracting output from principal function in psych package as a data frame

后端 未结 2 1791
不知归路
不知归路 2020-12-17 19:06

When I use the principal function, like in the following code, I get a nice table which gives all the standardized loadings, as well as a table with the eigenvalues and the

2条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-17 19:22

    Why not this:

     capture.output( print(rotatedpca), file="pc.txt")
    

    You can read desired portions into Excel using its Text to Columns... function off the /Data menu. Or you can just paste it into an open blank Excel document and select the rows you want to convert. Use the "fixed" option that will probably be offered automagically.

提交回复
热议问题