Skip to content
Back to formatted view

Raw Message

Message-ID: <DM3PR14MB0540FDA33994547C66C6BFAABEA90@DM3PR14MB0540.namprd14.prod.outlook.com>
Date: 2018-12-06T18:33:35Z
From: Vinicius Maia
Subject: Cannot have zero distances in "corSpatial"

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]]