用R同时做了好几个mantel test,输出的结果如下:
结果一:
Mantel statistic based on Pearson's product-moment correlation
Call:
mantel(xdis = veg.dist, ydis = env.dist)
Mantel statistic r: 0.08885
Significance: 0.001
Empirical upper confidence limits of r:
90% 95% 97.5% 99%
0.0365 0.0504 0.0600 0.0715
Based on 1000 permutations
结果二:
Mantel statistic based on Pearson's product-moment correlation
Call:
mantel(xdis = veg.dist, ydis = env.dist)
Mantel statistic r: 0.09283
Significance: 0.002
Empirical upper confidence limits of r:
90% 95% 97.5% 99%
0.0389 0.0520 0.0627 0.0732
Based on 1000 permutations
结果三:
结果四:
略
要想将这些结果整合成一个这样的表格,该如何操作?
如:
Site Method 90% 95% 97.5% 99% Mantel r Mantel sig
A Pearson's 0.0365 0.0504 0.0600 0.0715 0.08885 0.001
B Spearman's 0.0389 0.0520 0.0627 0.0732 0.09283 0.002
上面这张表是我手动复制做的,如果有好几个检验结果,都用这种方法来手动做表,不但麻烦而且易出错,不知有没有办法在R中生成这样的表格,再保存出来。
请高人指点,先谢谢!