
is not NA
not.na.RdShortcut method to avoid the two-step !is.na(x)
Arguments
- x
SpatRaster
- falseNA
logical. If
TRUE, the output cell values are eitherTRUE, for cells that are notNAinx, orNAfor the cells that areNAinx. Otherwise, the output values are eitherTRUEorFALSE- filename
character. Output filename
- ...
additional arguments for writing files as in
writeRaster