Description Usage Arguments Value Author(s) Examples
View source: R/adonis.pairwise.R
Pairwise multilevel comparison using adonis
1 2 3 4 5 6 7 8 | adonis.pairwise(
x,
factors,
sim.function = "vegdist",
sim.method = "bray",
p.adjust.m = "bonferroni",
perm = 999
)
|
x |
Data frame (the community table), or "dist" object (user-supplied distance matrix). |
factors |
Vector (a column or vector with the levels to be compared pairwise). |
sim.function |
Function used to calculate the similarity matrix, one of 'daisy' or 'vegdist' default is 'vegdist'. Ignored if x is a distance matrix. |
sim.method |
Similarity method from daisy or vegdist, default is 'bray'. Ignored if x is a distance matrix. |
p.adjust.m |
The p.value correction method, one of the methods supported by p.adjust(), default is 'bonferroni'. |
perm |
perm |
Table with the pairwise factors, R^2, p.value and adjusted p.value.
ZH Gai
1 | adonis.pairwise(iris[,1:4],iris$Species)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.