summary_map {OpenLand} | R Documentation |
Quantitative summary of a unique categorical raster
Description
This function presents a summary with the pixel quantity of each category present in a categorical raster.
Usage
summary_map(path)
Arguments
path |
The path for the raster to be analysed, if path is a multilayer raster only the first RasterLayer will be analysed. |
Value
A table containing in columns the pixel counts for each pixel value
Examples
url <- "https://zenodo.org/record/3685230/files/SaoLourencoBasin.rda?download=1"
temp <- tempfile()
download.file(url, temp, mode = "wb") # downloading the SaoLourencoBasin dataset
load(temp)
summary_map(SaoLourencoBasin[[1]])
[Package OpenLand version 1.0.3 Index]