Arguments
formula
formula in R/S-Plus format describing the test to be conducted. For this test, y ~ x will perform a simple Mantel test, while y ~ x + z1 + z2 + z3 will do a partial Mantel test of the relationship between x and y given z1, z2, z3. All variables can be eit
data
an optional dataframe containing the variables in the model as columns of dissimilarities. By default the variables are taken from the current environment.
nperm
number of permutations to use. If set to 0, the permutation test will be omitted.
mrank
if this is set to FALSE (the default option), Pearson correlations will be used. If
set to TRUE, the Spearman correlation (correlation ranked distances) will be used.
nboot
number of iterations to use for the bootstrapped confidence limits. If set to 0,
the bootstrapping will be omitted.
pboot
the level at which to resample the data for the bootstrapping procedure.
cboot
the level of the confidence limits to estimate.