makeSpatRasterAutoplot {malariaAtlas}R Documentation

Create a single (sub) plot for a SpatRaster

Description

Create a single (sub) plot for a SpatRaster

Usage

makeSpatRasterAutoplot(
  spatraster,
  rastername,
  shp_df,
  legend_title,
  fill_scale_transform,
  fill_colour_palette,
  plot_titles
)

Arguments

spatraster

SpatRaster object containing a single layer

rastername

raster name, to include in title

shp_df

sf shapefile

legend_title

title for legend

fill_scale_transform

scale

fill_colour_palette

palette

plot_titles

bool, whether to include title

Value

ggplot object


[Package malariaAtlas version 1.6.1 Index]