Skip to contents

This 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.

Usage

plot_categorical_raster(raster_object)

Arguments

raster_object

A raster object.

Value

A ggplot object.