View source: R/autoplot.SpatRasterCollection.R
autoplot.SpatRasterCollection | R Documentation |
autoplot.SpatRasterCollection
creates a map of all rasters in a autoplot.SpatRasterCollection object and
displays these in a grid.
## S3 method for class 'SpatRasterCollection'
autoplot(
object,
...,
shp_df = NULL,
legend_title = "",
plot_titles = TRUE,
fill_scale_transform = "identity",
fill_colour_palette = "RdYlBu",
printed = TRUE
)
object |
SpatRasterCollection object to be visualised. |
... |
Other arguments passed to specific methods |
shp_df |
Shapefile(s) (data.frame) to plot with downloaded raster. |
legend_title |
String used as title for all colour scale legends. |
plot_titles |
Plot name of raster object as header for each individual raster plot? |
fill_scale_transform |
String givning a transformation for the fill aesthetic.
See the trans argument in |
fill_colour_palette |
String referring to a colorbrewer palette to be used for raster colour scale. |
printed |
Logical vector indicating whether to print maps of supplied rasters. |
autoplot.SpatRasterCollection
returns a list of plots (gg objects) for each
supplied raster.
gg object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.