unique.Rd
This function returns the unique values in a RasterLayer object or the unique combinations of the layers in a multilayer object.
# S4 method for class 'RasterLayer,missing'
unique(x, incomparables=FALSE, na.last=NA, progress="", ...)
# S4 method for class 'RasterStackBrick,missing'
unique(x, incomparables=FALSE, na.last=NA, progress="", ...)
Raster object
must be missing. The default value FALSE
is used. See unique
logical. for controlling the treatment of NA
s. If TRUE
, missing values in the data are put last; if FALSE
, they are put first; if NA
, they are removed.
character. Use "text" or "window" for a progress indicator
additional arguments. as in unique
vector or matrix