R语言命令汇总
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了R语言命令汇总相关的知识,希望对你有一定的参考价值。
> qqplot(spear,fastrankweight)
> qqplot(spear,fastrankweight,main="title")
> qqplot(spear,fastrankweight,main="distribution relation between spearman and fastrank")
> cor(spear,fastrankweight,method="pearson")
[1] 0.3001109
> cor(spear,fastrankweight,method="spearman")
[1] -0.01457876
> cor(spear,fastrankweight,method="kendall")
[1] -0.002459491
data=read.table("D:\\WorkSpace\\TestData\\20170929\\feats2.tsv",header=T)
以上是关于R语言命令汇总的主要内容,如果未能解决你的问题,请参考以下文章