centroid {whitebox} | R Documentation |
Calculates the centroid, or average location, of raster polygon objects.
centroid(input, output, text_output = FALSE, verbose_mode = FALSE)
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. |
Returns the tool text outputs.