运行相关分析时出错

时间:2017-06-12 19:40:42

标签: r

我正在尝试使用R来运行使用Hmisc::rcorr的相关性分析来查找Pearson系数。但是,我需要帮助理解错误消息。有人可以帮助这个R新手吗?

这是我正在使用的代码

library(Hmisc)
rcorr(Rintro_Chapter4_June_12$age, Rintro_Chapter4_June_12$credit.score, type = "pearson")

这是我收到的错误消息。

Error in rcorr(Rintro_Chapter4_June_12$age, Rintro_Chapter4_June_12$credit.score,:
   unused arguments (Rintro_Chapter4_June_12$credit.score, type = "pearson")

谢谢。

路易斯

0 个答案:

没有答案
相关问题