Skip to content
Prev 2647 / 29559 Next

Error message in spgwr : SpatialPointsDataFrame...row.names of data and coords do not match

On Thu, 18 Oct 2007, Dvora-Lai? Wulfsohn wrote:

            
Please try to coerce gwr.dat to a SpatialPointsDataFrame, and omit the 
coords= argument:

coordinates(gwr.dat) <- c(1,2)

should do it. The coords= argument is only retained for backward 
compatibility. If you like, you can send the file from:

save(gwr.dat, gwr.loc, file="rownames_problem.RData")

to me off-list, so that I can trap this particular problem.

Roger