Plot raster object using ggspatial
1 | plot_raster_layer_spatial(r, value_trans = "identity", breaks = NULL)
|
r |
raster object |
value_trans |
(from ggplot2 doc) For continuous scales, the name of a transformation object or the object itself. Built-in transformations include "asn", "atanh", "boxcox", "date", "exp", "hms", "identity", "log", "log10", "log1p", "log2", "logit", "modulus", "probability", "probit", "pseudo_log", "reciprocal", "reverse", "sqrt" and "time". |
breaks |
breaks for values |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.