View source: R/autoplotRasterHelper.R
makeSpatRasterAutoplot | R Documentation |
Create a single (sub) plot for a SpatRaster
makeSpatRasterAutoplot(
spatraster,
rastername,
shp_df,
legend_title,
fill_scale_transform,
fill_colour_palette,
plot_titles
)
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 |
ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.