Learn R Programming

bbsBayes (version 2.5.3)

load_map: Load a map of of the geographic strata.

Description

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)

Value

sf polygon object

Arguments

stratify_by

How were the data stratified?

Examples

Run this code
# 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)


Run the code above in your browser using DataLab