EcoGenetics (version 1.2.1-4)

int.mantel: Mantel and partial Mantel tests, internal.

Description

Mantel and partial Mantel tests, internal.

Usage

int.mantel(d1, d2, dc, nsim, test, alternative = "auto", plotit = FALSE,
  method = "pearson", na.omit = FALSE, ...)

Arguments

d1

distance matrix.

d2

distance matrix.

dc

conditional distance matrix (optional).

nsim

Number of Monte-Carlo simulations.

test

If test = "bootstrap", the program generates a bootstrap resampling and the associated confidence intervals. If test = "permutation" a permutation test is made and the P-values are computed.

alternative

The alternative hypothesis. If "auto" is selected (default) the program determines the alternative hypothesis. Other options are: "two.sided", "greater" and "less".

plotit

Should be generated a plot of the simulations?