Applies standard class names and colors to a SpatRaster, or creates a factor matrix. Input values should be integers between 1 and 10.
Arguments
- x
A SpatRaster or matrix object.
- forms
character. One of:
"forms10"
(default),"forms6"
,"forms5"
,"forms4"
. These are themes corresponding to the built-in 10-form, 6-form, 5-form, and 4-form"forms
" outputs fromgeomorphons()
.