Re: [R-sig-Geo] all localR2 has NA values in gwr

2010-10-02 Thread Jorge Fernando Saraiva de Menezes
are the fit points. In your case, and with a 20km fixed bandwidth, you most likely only have the i'th observations in their own local regressions. Hope this helps more, Roger Hope this helps, Roger Hope this helps. Cheers, Dr. Danlin Yu On 2010-9-30 12:53, Jorge Fernando Saraiva de

[R-sig-Geo] all localR2 has NA values in gwr

2010-09-30 Thread Jorge Fernando Saraiva de Menezes
Dear list, When I run a gwr using a model with two independent variables my local R2 only has NA values. I've read in some topic that this is problably because the function cannot estimate localR2 correctly. I tryed to get the same result with the columbus data, but was not able to. Does anyone

[R-sig-Geo] which cost less computer effort? PolygonValues(), polygonsToRaster(), or zonal()?

2010-09-01 Thread Jorge Fernando Saraiva de Menezes
Dear list, I have a raster, with a grid resolution of 250m2 and values of 0,1 or NA, and a shapefile with about 5000 polygons of areas varying from 221m2 to 323,629,571,955m2, which means that a polygon might have 1 billion cells (fortunaly, these are very few) I would like to obtain for each

[R-sig-Geo] negative local R2 in gwr

2010-01-27 Thread Jorge Fernando Saraiva de Menezes
Dear all, I have started to use gwr in data of species counts in islands of the western hemisphere, but the gwr() output contains negative locals R2s, especially when bandwith value are low. This happen also when I use the optimal bandwidth choosed by gwr.sel() with CV. Does anybody knows what