Re: [R-sig-Geo] overlay() in raster package

2010-02-25 Thread Wearn, Oliver
From: Kamran Safi Radolfzell [ks...@mail.orn.mpg.de] Sent: 25 February 2010 14:42 To: Wearn, Oliver; r-sig-geo@stat.math.ethz.ch Cc: r-sig-geo-boun...@stat.math.ethz.ch Subject: Re: [R-sig-Geo] overlay() in raster package Hi Oliver, don't really understand what you are trying to do wi

[R-sig-Geo] overlay() in raster package

2010-02-25 Thread Wearn, Oliver
Dear all, I'm trying to use the overlay() function in the raster package, but can't get 'if' clauses to work. Can anyone help? I have two rasters, the first of which I would like to modify, depending on the value in the second (a forest cover raster). Specifically, if the value in the first (c