Logic-methods.Rd
The following logical (boolean) operators are available for computations with RasterLayer objects:
&, |, and !
The following functions are available with a Raster* argument:
is.na
, is.nan
, is.finite
, is.infinite
A Raster object with logical (TRUE/FALSE
values)
These are convenient operators/functions that are most usful for relatively small RasterLayers for which all the values can be held in memory.
If the values of the output RasterLayer cannot be held in memory, they will be saved to a temporary file. In that case it could be more
efficient to use calc
instead.