Skip to content
Prev 5284 / 29559 Next

Error in if (dxsd > tolerance) { : missing value where TRUE/FALSE needed

On Wed, 18 Mar 2009, David Wahlund wrote:

            
Yes, the underlying problem is that the "[" method for a SpatialGrid is 
trying to re-assemble an object from the remaining data, and the heuristic 
being used to "guess" the step of the grid when many rows and columns are 
missing is failing. If you manage to find out which it is, you might 
consider sending me a copy of the objects (save()), so that I can have a 
look at the heuristic. In general, you can drill down to the failing 
function by using traceback() afterwards - here it is points2grid() that 
has failed.

Roger