0

I want to find the neighbor cells number and their values to the given cell location in the raster object. Can anyone help me with this?

Thanks in Advance!!

User0590
  • 103
  • 12
  • You are more likely to get a useful answer by adhering to some of the advice provided here: https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example – JanLauGe Sep 08 '17 at 14:00
  • Have a look at `raster::adjacent()` . It should do what you need. – lbusett Sep 10 '17 at 07:57

0 Answers0