get_strata_area: Get the area of each strata

View source: R/get-strata-area.R

get_strata_areaR Documentation

Get the area of each strata

Description

get_strata_area allows you to obtain the area of each strata for a given stratification type.

Usage

get_strata_area(strata_type = NULL)

Arguments

strata_type

Stratification type to return the areas of

Value

Data frame with the following variables:

region

Name of the stratum/region

area_sq_km

Area of the stratum/region in square kilometres

Examples


# Obtain the strata area for each of the 5 stratification types

# USGS BBS
st_area <- get_strata_area(strata_type = "bbs_usgs")

# CWS BBS
st_area <- get_strata_area(strata_type = "bbs_cws")

# BCR
st_area <- get_strata_area(strata_type = "bcr")

# State/Province/Territory
st_area <- get_strata_area(strata_type = "state")

# Degree block
st_area <- get_strata_area(strata_type = "latlong")


bbsBayes documentation built on March 7, 2023, 6:33 p.m.