Description Usage Arguments Value Author(s) Examples
View source: R/mantel.residuals.R
Function to extract residuals from Mantel test.
1 | mantel.residuals(y, x)
|
y |
Dissimilarity matrices of dist class. |
x |
Dissimilarity matrices of dist class. |
statistic |
The Mantel statistic. |
residuals |
Residuals extracted from the Mantel test (Class dist). |
Vanderlei Julio Debastiani <vanderleidebastiani@yahoo.com.br>
1 2 3 4 5 | #require(vegan)
#A<-vegdist(matrix(sample(1:10, 20, replace =TRUE), 5, 5))
#B<-vegdist(matrix(sample(1:10, 30, replace = TRUE), 5, 6))
#mantel(A, B)
#mantel.residuals(A, B)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.