
Plots a categorical raster map
plot_categorical_raster.RdThis function takes a raster object as input and produces a ggplot. If the raster
object includes a "color_pallete" column with hex color codes, these colors are
used for the fill scale. Otherwise, the default scale_fill_hypso_d() fill scale
from the tidyterra package is used.