wbt_aggregate_raster {whitebox}R Documentation

Aggregate raster

Description

Aggregates a raster to a lower resolution.

Usage

wbt_aggregate_raster(
  input,
  output,
  agg_factor = 2,
  type = "mean",
  wd = NULL,
  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.

wd

Changes the working directory.

verbose_mode

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

Value

Returns the tool text outputs.


[Package whitebox version 1.4.0 Index]