plot_layer-RasterStack-method: Plot a RasterStack object

plot_layer,RasterStack-methodR Documentation

Plot a RasterStack object

Description

Plot a RasterStack object

Usage

## S4 method for signature 'RasterStack'
plot_layer(
  x,
  outline_poly = NULL,
  outline_size = 1.2,
  outline_color = "gray30",
  plot_pkg = "ggplot",
  ...
)

Arguments

x

An sf or Raster* object as returned from a get_*_layer function

outline_poly

Optional. An sf polygon to outline sf_data for context

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 plot_layer

Examples

## Not run: 
wi_aerial <- get_map_layer(wi_leaf_off_url, wis_poly)
plot_layer(wi_aerial, outline_poly = wis_poly)

## End(Not run)

pfrater/arcpullr documentation built on March 16, 2024, 6:29 a.m.