[R-sig-Geo] gwr error

Jason Kreitler jkreitler at bren.ucsb.edu
Fri Jan 26 02:50:08 CET 2007


all,
when running gwr i get the following error if i have fit points (either 
SpatialPoints or a grid) included in the analysis, but i do not get the 
error and the gwr routine runs when fit points are excluded. i don't 
understand this but i think the problem is in my dataset, not the fit 
points. could someone offer a suggestion based on the error below? i am 
reading in the data via the readShapePoints command in Maptools.

 >Error in validityMethod(object) : number of rows in data.frame and 
SpatialPoints don't match

all the rows within my data frame have a value (some zero), and R reads 
the correct number of rows when i do a summary, so i don't quite know 
what to do. Any ideas?
thanks much,
jason

-- 
Jason Kreitler
University of California, Santa Barbara
Bren School of Env. Sci. & Mgmt.
3017 Bren Hall
Santa Barbara, CA 93106

office: 805 893.7044
mobile: 805 403.9795
jkreitler at bren.ucsb.edu




More information about the R-sig-Geo mailing list