[R] Clumpy in image & Landscape Ecology metrics

From: Milton Cezar <miltinho_astronauta_at_yahoo.com.br>
Date: Sat 03 Jun 2006 - 05:33:31 EST


Dear R-friends,    

  Is there someone workingo with Landscape Ecology Metrics in R?   Im 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]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Jun 03 05:56:49 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 03 Jun 2006 - 06:10:30 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.