R语言中进行Spearman等级相关分析
原文链接:http://tecdat.cn/?p=9501
目录
例
数据简单图
绘制结果图
怎么做测试
数据简单图
本文展示了r语言中如何进行Spearman等级相关分析的例子。
例
Spearman等级相关的例子
### --------------------------------------------------------------### Spearman rank correlation, frigatebird exampleData = read.table(textConnection(Input),header=TRUE)~ Pitch + Volume,data=Data,method = "spearman",continuity = FALSE,= 0.95)rank correlation rhoS = 1708.382, p-value = 0.0002302sample estimates:rho-0.7630357
数据简单图
~ Volume,data=Data,pch=16)
绘制结果图
有关此主题的信息,请参见手册。
怎么做测试
Spearman等级相关的例子
Spearman's rank correlation rhoS = 1111.908, p-value = 0.1526rho-0.3626323
数据简单图
更多内容,请点击左下角“阅读原文”查看
案例精选、技术干货 第一时间与您分享
长按二维码加关注
更多内容,请点击左下角“阅读原文”查看
