plot_layer,sf-method | R Documentation |
Plot an sf object
## S4 method for signature 'sf'
plot_layer(
x,
outline_poly = NULL,
outline_size = 1.2,
outline_color = "gray30",
plot_pkg = "ggplot",
...
)
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 |
plot_pkg |
Character. The plotting environment to use. Either "ggplot" (default) or "base" |
... |
Additional arguments to |
## Not run:
plot_layer(wis_poly)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.