get_n_val_raster: get_n_val_raster Returns the number of different values in...

get_n_val_rasterR Documentation

get_n_val_raster Returns the number of different values in the raster.

Description

Returns the number of different values in the input raster.

Usage

get_n_val_raster(raster_name)

Arguments

raster_name

name of the raster map

Value

The range of values in the raster map.

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.