摘要: http://zoonek2.free.fr/UNIX/48_R/09.html 使用R计算相关系数的函数为: cor.test(X,Y,method="") method可以为"spearman","pearson" and "kendall",分别对应... 阅读全文
posted @ 2017-08-07 17:22 banlucainiao 阅读(90) 评论(0) 推荐(0)
摘要: R中很多函数都接收公式(formula)类型的参数,比如lm。来看一个最简单的使用公式的例子: 代码 1 ... 阅读全文
posted @ 2017-08-07 08:34 banlucainiao 阅读(139) 评论(0) 推荐(0)