As far as I know, for IBD, may be the mantel test is a classical method, but for IBE, if geographic distance and environmental attribute are autocorrelated, the partial mantel test isn’t recommended by many researchers. in addition, the environmental variables are multidimensional and may be nonlinear, so, how to test IBE?