Usage
mantel.correlog(D.eco, D.geo=NULL, XY=NULL, n.class=0, break.pts=NULL,
cutoff=TRUE, r.type="pearson", nperm=999, mult="holm", progressive=TRUE)
## S3 method for class 'mantel.correlog':
plot(x, alpha=0.05, ...)
Arguments
D.eco
An ecological distance matrix, with class
either dist or matrix.
D.geo
A geographic distance matrix, with class either
dist or matrix. Provide either D.geo or
XY. Default: D.geo=NULL.
XY
A file of Cartesian geographic coordinates of the
points. Default: XY=NULL.
n.class
Number of classes. If n.class=0, the Sturges
equation will be used unless break points are provided.
break.pts
Vector containing the break points of the distance
distribution. Provide (n.class+1) breakpoints, that is, a list with
a beginning and an ending point. Default: break.pts=NULL.
cutoff
For the second half of the distance classes,
cutoff = TRUE limits the correlogram to the distance classes
that include all points. If cutoff = FALSE, the correlogram
includes all distance classes.
r.type
Type of correlation in calculation of the Mantel
statistic. Default: r.type="pearson". Other choices are
r.type="spearman" and r.type="kendall", as in functions
cor nperm
Number of permutations for the tests of
significance. Default: nperm=999. For large data files,
permutation tests are rather slow.
mult
Correct P-values for multiple testing. The correction
methods are "holm" (default), "hochberg",
"sidak", and other methods available in the
p.adjust function progressive
Default: progressive=TRUE for progressive
correction of multiple-testing, as described in Legendre and Legendre
(1998, p. 721). Test of the first distance class: no correction;
second distance class: correct for 2 simultaneous tests;
x
Output of mantel.correlog.
alpha
Significance level for the points drawn with black
symbols in the correlogram. Default: alpha=0.05.
...
Other parameters passed from other functions.