Skip to content
Prev 173103 / 398502 Next

Zero distance error in corSpatial - correlation structure using lme

I believe you are stuck with what the error says -- i.e. you 'Cannot
have zero distances in "corSpatial"'.

If you recorded locations for observations within transects then you
should be able to model the spatial autocorrelation, either within
transects or across the study area (although the latter may be
difficualt, depending on the spatial layout of your study).  I don't
know of a regression tool in R that allows for estimation of the
spatial correlation strructure at levels higher than than the
observations.

Kingsford Jones
On Mon, Mar 9, 2009 at 7:28 AM, John Poulsen <jpoulsen at zoo.ufl.edu> wrote: