Applies standard class names and colors to a SpatRaster, or creates a factor
matrix. Input values should be integers between 1 and 10.
Usage
geomorphon_categories()
geomorphon_colors()
geomorphon_theme(x)
Arguments
- x
A SpatRaster or matrix object.
Value
A SpatRaster or matrix object with geomorphon class names (and colors
for SpatRaster) applied.
Details
When x
is a matrix the result is a factor using geomorphon_categories()
.
Values are integers 1 to 10 and labels are the geomorphon form names.