Re: [R] Perform mantel test on subset of distance matrix

2018-01-18 Thread Sarah Goslee
Hi Andrew, Yes, you cannot have NA values in your matrices. Instead, you could incorporate a model matrix. See Legendre, P. & Fortin, M.J. Vegetatio (1989) 80: 107. https://doi.org/10.1007/BF00048036 for ideas. Sarah On Sun, Dec 31, 2017 at 12:55 PM, Andrew Marx wrote: > I'm trying to perform

[R] Perform mantel test on subset of distance matrix

2017-12-31 Thread Andrew Marx
I'm trying to perform a mantel test that ignores specific pairs in my distance matrices. The reasoning is that some geographic distances below a certain threshold suffer from spatial autocorrelation, or perhaps ecological relationships become less relevant that stochastic processes above a certain