mantel.residuals: Residuals from Mantel test

Description Usage Arguments Value Author(s) Examples

View source: R/mantel.residuals.R

Description

Function to extract residuals from Mantel test.

Usage

1

Arguments

y

Dissimilarity matrices of dist class.

x

Dissimilarity matrices of dist class.

Value

statistic

The Mantel statistic.

residuals

Residuals extracted from the Mantel test (Class dist).

Author(s)

Vanderlei Julio Debastiani <vanderleidebastiani@yahoo.com.br>

Examples

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)

vanderleidebastiani/daee documentation built on Jan. 22, 2021, 2:41 p.m.