Description Usage Arguments Value Author(s) Examples
View source: R/anosim.pairwise.R
Pairwise multilevel comparison using anosim
1 2 3 4 5 6 7 8 | anosim.pairwise(
x,
grouping,
sim.function = "vegdist",
sim.method = "bray",
p.adjust.m = "bonferroni",
perm = 999
)
|
x |
Data matrix or data frame in which rows are samples and columns are response variable(s), or a dissimilarity object or a symmetric square matrix of dissimilarities |
grouping |
Factor for grouping observations. |
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 |
permutations |
Table with the pairwise factors, anosim R, p.value and adjusted p.value.
ZH Gai
1 | anosim.pairwise(iris[, 1:4], iris$Species)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.