wbt_max_difference_from_mean {whitebox}R Documentation

Max difference from mean

Description

Calculates the maximum difference from mean elevation over a range of spatial scales.

Usage

wbt_max_difference_from_mean(
  dem,
  out_mag,
  out_scale,
  min_scale,
  max_scale,
  step = 1,
  wd = NULL,
  verbose_mode = FALSE
)

Arguments

dem

Input raster DEM file.

out_mag

Output raster DIFFmax magnitude file.

out_scale

Output raster DIFFmax scale file.

min_scale

Minimum search neighbourhood radius in grid cells.

max_scale

Maximum search neighbourhood radius in grid cells.

step

Step size as any positive non-zero integer.

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]