# take partial correlogram of z2 on the residuals of z1 ~ space.d
z.pmgram <- pmgram(z1.d, space.d, z2.d, nperm=10)
plotmgram(z.pmgram, pval=0.1)
# A full example is available in the partial Mantel
# correlogram section of the main help file for \link{ecodist}.
Run the code above in your browser using DataLab