Re: [R-sig-Geo] Adding smoothing factor to terrain function in raster

2014-06-03 Thread Alex Zvoleff
Whoops - somehow a double comma worked its way into the ."Call" lines in the first patch I sent. The attached patch is updated to address that issue. Alex On Fri, May 30, 2014 at 10:48 AM, Alex Zvoleff wrote: > Dear list (and Robert Hijmans in particular), > > I am using the terrain function in

[R-sig-Geo] Adding smoothing factor to terrain function in raster

2014-05-30 Thread Alex Zvoleff
Dear list (and Robert Hijmans in particular), I am using the terrain function in the raster package to calculate slope and aspect prior to performing topographic correction. The landsat package supports applying a smoothing factor during the slope calculation, to avoid over-correction of reflecta