plot_layer,RasterLayer-method {arcpullr} | R Documentation |
Plot a RasterLayer object
Description
Plot a RasterLayer object
Usage
## S4 method for signature 'RasterLayer'
plot_layer(
x,
outline_poly = NULL,
outline_size = 1.2,
outline_color = "gray30",
legend = TRUE,
plot_pkg = "ggplot",
...
)
Arguments
x |
An sf or Raster* object as returned from a
|
outline_poly |
Optional. An sf polygon to outline |
outline_size |
Numeric argument that controls width of parameter |
outline_color |
A character vector of a valid color |
legend |
Logical. Only valid when plotting RasterLayers
retrieved from |
plot_pkg |
Character. The plotting environment to use. Either "ggplot" (default) or "base" |
... |
Additional arguments to |
Examples
## Not run:
wi_landcover <- get_map_layer(wi_landcover_url, wis_poly)
plot_layer(wi_landcover, outline_poly = wis_poly)
## End(Not run)
[Package arcpullr version 0.2.9 Index]