Dear R-friends,
   
  Is there someone workingo with Landscape Ecology Metrics in R?
  I´m writing a short routine to compute a "Percolation" index in a map and I need to identify "Clumpy" in the image. My input data looks like
   
  00000000000
  00110000000
  00111000000
  00000000000
  00000111000
  00001110000
  00000000000
  00110000000
  00000000000
   
  And I need the following result (each clumpy with diferent ID and using 8-neighbours).
   
    00000000000
  00110000000
  00111000000
  00000000000
  00000222000
  00002220000
  00000000000
  00330000000
  00000000000

   
  See that only the first "patch" was identified with 1, the other with 2 and 3.
  Suggestions,
   
  Kind regards, miltinho

 __________________________________________________


	[[alternative HTML version deleted]]

