openSTARS (version 1.2.2)

get_all_raster_values: 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