R中的adonis函数显然默认为输出p值中的3个sig-figs。这可以改变,以便输出更高的sig-figs吗?
答案 0 :(得分:0)
我认为将p值看到超过三位有效数字是一个非常糟糕的主意。但是,adonis
已经为您提供了999以外的排列数:
# Code
library(vegan)
data(dune)
data(dune.env)
## default test by terms
adonis(dune ~ Management*A1, data = dune.env, permutations = 1000)
# Results
Permutation test for adonis under reduced model
Terms added sequentially (first to last)
Permutation: free
Number of permutations: 1000
Call:
adonis(formula = dune ~ Management * A1, data = dune.env, permutations = 1000)
Permutation: free
Number of permutations: 1000
Terms added sequentially (first to last)
Df SumsOfSqs MeanSqs F.Model R2 Pr(>F)
Management 3 1.4686 0.48953 3.2629 0.34161 0.001998 **
A1 1 0.4409 0.44089 2.9387 0.10256 0.016983 *
Management:A1 3 0.5892 0.19639 1.3090 0.13705 0.228771
Residuals 12 1.8004 0.15003 0.41878
Total 19 4.2990 1.00000