[R-sig-ME] Cannot have zero distances in "corSpatial"

Andrew Robinson men@ur@tioni@t @ending from gm@il@com
Thu Dec 6 20:15:03 CET 2018


Try adding a small random jitter to the locations.

Cheers,

Andrew
On 7 Dec 2018, 5:34 AM +1100, Vinicius Maia <vinicius.a.maia using 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 using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>

	[[alternative HTML version deleted]]



More information about the R-sig-mixed-models mailing list