get_all_raster_values: get_all_raster_values Returns all unique values in the raster

Description Usage Arguments Value Note

Description

Returns the number of different values in the input raster.

Usage

1
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.


openSTARS documentation built on Feb. 4, 2022, 5:08 p.m.