get_all_raster_values: get_all_raster_values Returns all unique values in the raster

get_all_raster_valuesR Documentation

get_all_raster_values Returns all unique values in the raster

Description

Returns the number of different values in the input raster.

Usage

get_all_raster_values(raster_name)

Arguments

raster_name

name of the raster map

Value

a vector of all values in the raster

Note

This function is sensitive to MASKs, i.e. if a MASK is present, only the part or the raster is processed within the MASK; r.mask.


MiKatt/openSTARS documentation built on June 17, 2022, 5:08 a.m.