Skip to content
Prev 19826 / 29559 Next

Extract cell numbers from raster based on condition

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.