plot_raster | R Documentation |
plot raster files
plot_raster(r, num_color = 10, num_decimal = 1, style = "quantile")
r |
SpatRaster to be ploted |
num_color |
integer number of colors |
num_decimal |
integer decimal places in legend |
style |
character "sd", "equal", "pretty", "quantile", "kmeans" |
# plot_raster(r = dem, num_color = 8, num_decimal = 2, style = "quantile")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.