Cannot have zero distances in "corSpatial"
Try adding a small random jitter to the locations. Cheers, Andrew
On 7 Dec 2018, 5:34 AM +1100, Vinicius Maia <vinicius.a.maia at hotmail.com>, wrote:
Hi folks data structure: plots nested in sites, and observations nested in plots. both site and plots used as random factors When running a mixed model (lme4) I founded spatial autocorrelation on model residuals, thus, I tried nlme mixed models inclunding a spatial structure (e.g. corr=corExp(...)), since I have repeated measures at the same point (then, with the same coordinates) the package is unable to run, giving the error: Cannot have zero distances in "corSpatial" in nlme It seems to be a common and unsolved problem https://www.google.com/search?q=Cannot+have+zero+distances+in+%22corSpatial%22&ie=utf-8&oe=utf-8&client=firefox-b It is my first time here, sorry for any mistake in my post. Thanks vmaia [[alternative HTML version deleted]]
_______________________________________________ R-sig-mixed-models at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models