[R-sig-Geo] Model deposition of water dispersed seeds based on DEM and deposition rates per slope

2011-06-28 Thread Rainer M Krug
Hi I have to model the deposition of water dispersed seed. My basic idea is to let them flow from the location of the seed source via the flowpath downhill, and deposit a certain percentage of seeds depending on the slope. So what I did in R was to 1) for each seedsource 2) determine adjacend

[R-sig-Geo] Calculating distance (km) between points by sea

2011-06-28 Thread Ruth Kelly
Hi, I'm trying to calculate the shortest distances by sea between points in the Meditteranean sea. I've been trying to do this using a costDistance approach in the gdistance package.(See code below). I have imported maps from ArcGIS in which sea has a value of 1 and land 10,000 there are

Re: [R-sig-Geo] Calculating distance (km) between points by sea

2011-06-28 Thread Sarah Goslee
Hi, On Tue, Jun 28, 2011 at 9:24 AM, Ruth Kelly ruthkelly...@gmail.com wrote: Hi, I'm trying to calculate the shortest distances by sea between points in the Meditteranean sea.   I've been trying to do this using a costDistance approach in the gdistance package.    (See code below). I have

Re: [R-sig-Geo] Calculating distance (km) between points by sea

2011-06-28 Thread Jacob van Etten
Try to set the scaling in geoCorrection() to FALSE to get meters. (This is the default in the new version of gdistance, which will be on CRAN shortly.) See the documentation of geoCorrection() for more info. --- On Tue, 28/6/11, Sarah Goslee sarah.gos...@gmail.com wrote: From: Sarah Goslee