[R-sig-Geo] Extract cell numbers from raster based on condition

Guillaume Drolet droletguillaume at gmail.com
Sun Nov 24 01:01:45 CET 2013


Hi Brian,

To get cell numbers of raster NA values, use this:

cellnb.na <- Which(is.na(ras), cells = TRUE)

Guillaume



--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Extract-cell-numbers-from-raster-based-on-condition-tp7585169p7585174.html
Sent from the R-sig-geo mailing list archive at Nabble.com.



More information about the R-sig-Geo mailing list