首页 > 编程语言 > 详细

R语言命令汇总

时间:2017-09-30 11:08:47      阅读:274      评论:0      收藏:0      [点我收藏+]

> 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语言命令汇总

原文:http://www.cnblogs.com/finallyliuyu/p/7613818.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!