Using spBayes package in R, after running the spLM function I get the following error:
Error in iDist(knot.coords, coords) : error: ncol(coords.1) != ncol(coor