Skip to contents

load_map allows you to load a simple features object (sf package) that represents a map of the strata that can be easily plotted.

Usage

load_map(stratify_by = NULL, type = "strata")

Arguments

stratify_by

Character. Stratification type. One of "prov_state", "bcr", "latlong", "bbs_cws", "bbs_usgs".

type

Character. "strata" or political map ("North America", "Canada" or "US"/"USA"/"United States of America").

Value

sf polygon object

Examples

# Toy example with Pacific Wren sample data
# First, stratify the sample data
strat_map <- load_map(stratify_by = "bbs_cws")

# simple plot of the map
plot(strat_map)