Re: [R] Zero distance error in corSpatial - correlation structure using lme

2009-03-09 Thread Kingsford Jones
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

[R] Zero distance error in corSpatial - correlation structure using lme

2009-03-09 Thread John Poulsen
Hello, I am having a problem specifying the correlation structure in lme which leads to the error: Error in getCovariate.corSpatial(object, data = data) : Cannot have zero distances in "corSpatial". I have specified a grouping variable which is the only fix I could find by searching this err