area_mean: Isobath (200m) separated summary of values across an area

View source: R/area-mean.R

area_meanR Documentation

Isobath (200m) separated summary of values across an area

Description

Estimate summary statistics across a spatial area, and separated by the 200m isobath that indicates inshore and offshore regions.

Usage

area_mean(x)

Arguments

x

pacea 'sf' data object with only one column of values (and a geometry column)

Value

list of summary statistics

Examples

## Not run: 
pdata <- bccm_surface_temperature()

yrs <- c(2019)
mths <- c(8) # august
ym <- paste(yrs, mths, sep = "_")

tdat <- pdata %>% dplyr::select(all_of(ym))

area_mean(tdat)

## End(Not run)

pbs-assess/PACea documentation built on April 17, 2025, 11:36 p.m.