tabuleRaster: Fast tabulation of pixel values

tabuleRasterR Documentation

Fast tabulation of pixel values

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

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 [ctb], Maria C. Londono [ctb]

Examples

 
 tabuleRaster(raster(volcano), n256 = FALSE)
 

ecochange documentation built on June 22, 2024, 10:53 a.m.