wbt_aggregate_raster: Aggregate raster

Description Usage Arguments Value

View source: R/gis_analysis.R

Description

Aggregates a raster to a lower resolution.

Usage

1
2
3
4
5
6
7
8
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.


whitebox documentation built on Sept. 7, 2020, 3 p.m.