Re: [R] Euclidean Distance in R

2011-04-05 Thread ONKELINX, Thierry
R-help@r-project.org > Onderwerp: [R] Euclidean Distance in R > > Hi > > 1. I have two raster files *.asc (identical size) 2. The data > in each contain presence or absence data in each cell > represented by a 1 or 0 respectively 3. I would like to take > the location

Re: [R] Euclidean Distance in R

2011-04-05 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/04/11 03:43, Paul Duckett wrote: > Hi Hi > > 1. I have two raster files *.asc (identical size) This question is much more appropriate for the r-sig-geo mailing list (https://stat.ethz.ch/mailman/listinfo/r-sig-geo), which focusses on spatial

[R] Euclidean Distance in R

2011-04-05 Thread Paul Duckett
Hi 1. I have two raster files *.asc (identical size) 2. The data in each contain presence or absence data in each cell represented by a 1 or 0 respectively 3. I would like to take the location of each 1 (presence cell) in raster file 1 and measure the euclidean distance to the nearest 1 (presence