[R-sig-Geo] focalFilter problem raster package

Nick Hamm nick at hamm.org
Wed Apr 13 14:16:15 CEST 2011


Dear Robert

Thanks for this!  Great!

I have now installed version 1.8-12 (11-april-2011).

best wishes

Nick


On 12 April 2011 05:13, Robert Hijmans <r.hijmans at gmail.com> wrote:
>> Dear Robert
>>
>> I hope the following example is clear.  you should be able to cut and
>> paste...
>>
>> Nick
>
> Dear Nick,
>
> Thank you for the example. It reveals a serious error in focalFilter.
> Results with that function in raster versions lower than 1.8-11 are wrong in
> the first rows (half the number of rows of the filter), when using a filter
> larger than 3x3 (because I forgot a "byrow=TRUE" argument in a call to
> matrix). Version 1.8-11 is on its way to CRAN.
>
> Robert
>
>
>
> --
> View this message in context: http://r-sig-geo.2731867.n2.nabble.com/focalFilter-problem-raster-package-tp6235925p6263699.html
> Sent from the R-sig-geo mailing list archive at Nabble.com.
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>



More information about the R-sig-Geo mailing list