get_group_mean: Get group mean

View source: R/get_seasonal_mean.R

get_group_meanR Documentation

Get group mean

Description

This function gets the group mean by season

Usage

get_group_mean(
  ltm_path,
  fname,
  shapefiles = ecodata::epu_sf %>% filter(EPU != "SS"),
  region_name,
  anom = TRUE
)

Arguments

ltm_path

The file path to the long term mean data

fname

The file path to the raster file to use as starting input

shapefiles

Shape files for the regions to mask to. Defaults to EPUs.

region_name

The names of the regions to calculate

anom

Whether to calculate seasonal anomaly

Value

A data frame


kimberly-bastille/ecopull documentation built on Dec. 9, 2024, 9:56 p.m.