[R-sig-Geo] find raster cells with non-NA values

jcoyle jrcoyle at live.unc.edu
Thu Oct 6 14:45:40 CEST 2011


Actually, I wanted to know the cell numbers, not the values that they
contain, but I just changed what you put to

which(!is.na(values(myraster)))

and this seemed to work.  Thanks!

--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/find-raster-cells-with-non-NA-values-tp6865759p6865787.html
Sent from the R-sig-geo mailing list archive at Nabble.com.



More information about the R-sig-Geo mailing list