[R] 2D filter in R?

Rolf Turner rolf.turner at xtra.co.nz
Thu Jan 12 00:00:37 CET 2012


On 12/01/12 09:17, Michael wrote:
> Hi all,
>
> I am looking for a command for doing 2D filtering (rectangular or
> Gaussian) in R...
>
> I have looked at ksmooth, filter and convolve but they seem to be 1D...
>
> Any thoughts?
>
> Thanks a lot!

I'm not sure what you really need/want to do, but you might have a look
at "smooth.ppp" (and possibly "density.ppp") from the "spatstat" package.

     cheers,

         Rolf Turner



More information about the R-help mailing list