Skip to contents

The derivation behind study_areas(), kept runnable so the baked constants are reproducible rather than magic.

Usage

study_area_views(
  x,
  zoom_full = 2.16,
  labels = c(FULL = "All US waters", AK = "Alaska", AT = "Atlantic", GA =
    "Gulf of America", PA = "Pacific")
)

Arguments

x

an sf of ecoregion polygons with region_key and ecoregion_key

zoom_full

zoom for the FULL preset, which is a chosen framing of the North American block rather than a fit (see below)

labels

named character vector of region labels

Value

the same shape as study_areas()