plot_rast | R Documentation |
Plot raster
plot_rast(rast, contour = FALSE, guide = "colourbar")
rast |
Raster object |
contour |
Logical. If TRUE, contour lines are added. (Default: FALSE) |
guide |
Argument passed to scale_fill. Defaults to "colourbar" for continuous colour scale, and can be set to "none" to remove the scale. |
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.