[R-sig-Geo] Count Pixel with Specific of Values Appearing Sequentially in Rasterstack

Arnold Salvacion arnold_salvacion at yahoo.com
Sat Apr 25 18:10:30 CEST 2015


Dear Colleagues,
Any idea on how to count the number of times a particular number (e.g. 1) appears consecutively within each pixel of a raster stack/brick? I found a similar question online (http://grokbase.com/t/r/r-sig-geo/1459p0s978/error-when-attempting-to-use-rle-in-calc-in-raster-package) but was not able to view/get any answer to solve such problem.
Thanks in advance.
Arnold



	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list