Re: [R-sig-Geo] Fwd: clump of binary pixels on raster package

2009-05-11 Thread van Etten, Jacob (IRRI)
z.ch [mailto:r-sig-geo-boun...@stat.math.ethz.ch] On Behalf Of van Etten, Jacob (IRRI) Sent: Tuesday, May 12, 2009 11:46 AM To: milton ruser Cc: r-sig-geo@stat.math.ethz.ch Subject: Re: [R-sig-Geo] Fwd: clump of binary pixels on raster package Clumps (patches) from binary pixels This is a solut

Re: [R-sig-Geo] Fwd: clump of binary pixels on raster package

2009-05-11 Thread van Etten, Jacob (IRRI)
__ From: milton ruser [mailto:milton.ru...@gmail.com] Sent: Tuesday, May 12, 2009 2:04 AM To: van Etten, Jacob (IRRI) Cc: r-sig-geo@stat.math.ethz.ch Subject: Re: [R-sig-Geo] Fwd: clump of binary pixels on raster package Dear Dylan and Jacob, In fact I not wrote to GRASS list,

Re: [R-sig-Geo] Fwd: clump of binary pixels on raster package

2009-05-10 Thread van Etten, Jacob (IRRI)
This seems to be a connected components problem, discussed recently on this list. Jacob. -Original Message- From: r-sig-geo-boun...@stat.math.ethz.ch [mailto:r-sig-geo-boun...@stat.math.ethz.ch] On Behalf Of milton ruser Sent: Monday, May 11, 2009 5:30 AM To: r-sig-geo@stat.math.ethz.ch S

Re: [R-sig-Geo] Cost distance analysis

2009-05-01 Thread van Etten, Jacob (IRRI)
gdistance, available on R-Forge. It works with raster also available on R-Forge. Jacob. -Original Message- From: r-sig-geo-boun...@stat.math.ethz.ch [mailto:r-sig-geo-boun...@stat.math.ethz.ch] On Behalf Of Huizhu "Chrissy" Li Sent: Friday, May 01, 2009 12:28 PM To: r-sig-geo@stat.math.et

Re: [R-sig-Geo] Need an algorithm to identify spatial clusters

2009-04-14 Thread van Etten, Jacob (IRRI)
Mark, The package igraph has a quick connected component algorithm, implemented in C. You would first need to create a graph from your grid, connecting adjacent cells. Raster (downloadable from R-Forge) has the function 'adjacency' that might be helpful in doing that (plus other functionality th

Re: [R-sig-Geo] point and click visualization of data

2009-03-04 Thread van Etten, Jacob (IRRI)
Dear Chuanwen You could write a new function around identify() that looks for the observation ID, looks up the corresponding picture and plots it. None of the spatial packages will do this automagically. Jacob -Original Message- From: r-sig-geo-boun...@stat.math.ethz.ch [mailto:r-sig-geo

Re: [R-sig-Geo] cross validation gstat

2009-02-23 Thread van Etten, Jacob (IRRI)
Hastie et al. say that k-fold CV with a low k can overestimate the error if there is still significant learning going on when the size of the training set approaches n-n/k. Leave-one-out CV, on the other hand, is free of this bias but has a high variance, which is why Hastie et al. dislike it

Re: [R-sig-Geo] community support vs. corporate support

2009-01-17 Thread van Etten, Jacob (IRRI)
Medieval cathedrals, that is. And bazaars also the real ones. -Original Message- From: b.rowling...@googlemail.com on behalf of Barry Rowlingson Sent: Sat 17/01/2009 21:44 To: van Etten, Jacob (IRRI) Cc: Edzer Pebesma; sig-geo Subject: Re: [R-sig-Geo] community support vs. corporate

Re: [R-sig-Geo] community support vs. corporate support

2009-01-17 Thread van Etten, Jacob (IRRI)
Cathedrals were never based on grand design but on "ad hoc collective work" (David Turnbull) and bazaar economies are all about hiding (price) information (Clifford Geertz). The Shinto shrine is indeed an improvement in metaphor, I guess. Jacob van Etten -Original Message- From: r-sig

Re: [R-sig-Geo] Reading an Ascii file

2009-01-15 Thread van Etten, Jacob (IRRI)
The case for a as.data.frame(signature=RasterStack) method (then you would have three lines (one less than Kamran) -Original Message- From: r-sig-geo-boun...@stat.math.ethz.ch [mailto:r-sig-geo-boun...@stat.math.ethz.ch] On Behalf Of Kamran Safi Sent: Thursday, January 15, 2009 3:28 PM To:

Re: [R-sig-Geo] shortest realistic distance for fish travel

2008-12-18 Thread van Etten, Jacob (IRRI)
You could also look at "resistance distance" (open-source software available at http://www.circuitscape.org/) if your fish travel as random-walkers. Jacob van Etten -Original Message- From: r-sig-geo-boun...@stat.math.ethz.ch on behalf of Alisa Coffin Sent: Fri 19/12/2008 04:16 To: Jon L