[R-sig-Geo] Step characteristics on raster maps

2010-09-30 Thread Mathieu Basille
Dear list members, I'm trying to compute characteristics along steps (i.e. segments between two points), based on underlying raster maps. The steps originally come from radiotracking data, converted to ltraj objects (adehabitat). The idea is to compute (for example) the habitat composition

[R-sig-Geo] nugget in variogram

2010-09-30 Thread Arantzazu Blanco Bernardeau
Hello everybody I am new on geostatistics so maybe my question is trivial or is already answered (I can not find the solution in the thread list). I have a variogram where I did not fix the nugget, because doing it was giving singular models. I would like to know the nugget ratio of my

Re: [R-sig-Geo] nugget in variogram

2010-09-30 Thread Edzer Pebesma
On 09/30/2010 04:13 PM, Arantzazu Blanco Bernardeau wrote: Hello everybody I am new on geostatistics so maybe my question is trivial or is already answered (I can not find the solution in the thread list). I have a variogram where I did not fix the nugget, because doing it was giving

Re: [R-sig-Geo] nugget in variogram

2010-09-30 Thread Edzer Pebesma
Sorry, this was too fast again: v[1,gamma] # or v.m$psill[1] are estimators of the nugget variance; v.m$psill[1] / sum(v.m$psill) is an estimator of the nugget-to-sill ratio. On 09/30/2010 06:39 PM, Edzer Pebesma wrote: On 09/30/2010 04:13 PM, Arantzazu Blanco Bernardeau wrote: Hello

[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

Re: [R-sig-Geo] Step characteristics on raster maps

2010-09-30 Thread Mathieu Basille
Dear Robert, I just understood the interest of 'crosstab' with 'mask', this is pretty neat! Thanks for the suggestion. However, I can see some potential drawbacks with this approach: as my objective is to describe each step (each segment), I should first cut each 'SpatialLines' into a list of

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

2010-09-30 Thread Danlin Yu
Jorge: From what I see on your code, I would suspect that you kind of confuse the bandwidth with numbers of nearest neighbor. In your code, you use 20, and I assume that meant the 20 nearest neighbors that you want for GWR calibration. Yet you didn't specify the adapt parameter in the code,