Pairwise Correlation Table

前端 未结 4 1508
忘掉有多难
忘掉有多难 2020-12-30 04:59

I\'m new to R, so I apologize if this is a straightforward question, however I\'ve done quite a bit of searching this evening and can\'t seem to figure it out. I\'ve got a d

4条回答
  •  天命终不由人
    2020-12-30 05:39

    You can use the sjt.corr function of the sjPlot-package, which gives you a nicely formatted correlation table, ready for use in your Office application.

    Simplest function call is just to pass the data frame:

    sjt.corr(df)
    

    See examples here.

提交回复
热议问题