wbt_centroid {whitebox} | R Documentation |
Calculates the centroid, or average location, of raster polygon objects.
wbt_centroid( input, output, text_output = FALSE, wd = NULL, verbose_mode = FALSE )
input |
Input raster file. |
output |
Output raster file. |
text_output |
Optional text output. |
wd |
Changes the working directory. |
verbose_mode |
Sets verbose mode. If verbose mode is False, tools will not print output messages. |
Returns the tool text outputs.