Learn R Programming

whitebox (version 0.1.0)

centroid: Centroid

Description

Calculates the centroid, or average location, of raster polygon objects.

Usage

centroid(input, output, text_output = FALSE, verbose_mode = FALSE)

Arguments

input

Input raster file.

output

Output raster file.

text_output

Optional text output.

verbose_mode

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

Value

Returns the tool text outputs.