summarize_data: helper function used to extract statistics of raster values...

Description Usage Arguments Value

View source: R/summarize_data.R

Description

FUNCTION_DESCRIPTION

Usage

1
summarize_data(in_data, var, comp_quant, FUN, band_n, selband)

Arguments

in_data

data.table containing raster values (for a full file or a "chunk")

var

character name of the variable (i.e., column) to be used as grouping variable for summarization

comp_quant

logical if TRUE, percentiles of the distribution are computed alongside standard statistics

FUN

function if not NULL and is a valid function, FUN is used for summarization and only its results are reported. Useful for example for analyses over large high-res raster since it reduces memory footprint (see sprawl::aggregate_rast)

band_n

PARAM_DESCRIPTION

selband

PARAM_DESCRIPTION

Value

list


IREA-CNR-MI/sprawl documentation built on Aug. 6, 2017, 12:56 p.m.