tabuleRaster: Fast tabulation of pixel values

Description Usage Arguments Value Author(s) Examples

Description

This function generates frequency tables for scenes in ecosystem remote sensing products by wrapping rasterDT. The function is mapped by gaugeIndicator to optimize computation of ecoystem extents.

Usage

1
2
3
tabuleRaster(layer = "", 
    del0 = TRUE, useNA = "no", 
    n256 = FALSE)

Arguments

layer

character. File path to an ERSP scene.

del0

logical. Remove the 0-count categories.

useNA

logical. Include NA values. This argument is passed to rasterDT::freqDT.

n256

logical. Do the raster contains less than 256 unique values?

Value

data.frame.

Author(s)

Wilson Lara Henao <wilarhen@gmail.com> [aut, cre], Victor Gutierrez-Velez [aut], Ivan Gonzalez [aut], Maria C. Londono [aut]

Examples

1
2
3
## \donttest{
## tabuleRaster(raster(volcano), n256 = FALSE)
## }

ecochange documentation built on Sept. 8, 2021, 5:09 p.m.