Learn R Programming

whitebox (version 0.1.0)

aggregate_raster: Aggregate raster

Description

Aggregates a raster to a lower resolution.

Usage

aggregate_raster(input, output, agg_factor = 2, type = "mean",
  verbose_mode = FALSE)

Arguments

input

Input raster file.

output

Output raster file.

agg_factor

Aggregation factor, in pixels.

type

Statistic used to fill output pixels.

verbose_mode

Sets verbose mode. If verbose mode is False, tools will not print output messages.

Value

Returns the tool text outputs.