I applied the gwr.basic and gwr.mixed on the same SDF file using the codes below. I got an error messgae on gwr.mixed - "Error in SpatialPolygonsDataFrame(Sr = polygons, data = mgwr.df) : row.names of data and Polygons IDs do not match", while no problem with gwr.basic. Can anyone help. Thank you very much.
The codes I used are:
gwr.res2
The codes I used are:
gwr.res2