一些R函数【自己使用过,保存】

1. library(plotrix)  axis.break()  为图形添加断轴

一些R函数【自己使用过,保存】_第1张图片

2. library(beeswarm)  beeswarm  蜜蜂群图

http://rgm3.lab.nig.ac.jp/RGM/r_function?p=beeswarm&f=beeswarm

可以结合盒形图展示。

一些R函数【自己使用过,保存】_第2张图片一些R函数【自己使用过,保存】_第3张图片

 3.求两个矩阵相似性

  library(ade4)

  coinertia() 函数

4.PCoA

  ape包 pcoa()函数 

5.高效率算Kendall相关系数:Package ‘pcaPP’ , cor.fk函数

  Calculates Kendall’s tau rank correlation coefficient in O (n log (n)) rather than O (n\^2) as in the
  current R implementation

6.检验两个分布是否相似

  ks.test()

7.卡方检验

  chisq.test()

转载于:https://www.cnblogs.com/xianghang123/archive/2013/03/01/2939061.html

你可能感兴趣的:(一些R函数【自己使用过,保存】)