byGridCell_CalcStats: Calculate statistics for results by grid cell

View source: R/byGridCell_CalcStats.R

byGridCell_CalcStatsR Documentation

Calculate statistics for results by grid cell

Description

Function to calculate statistics for results by grid cell.

Usage

byGridCell_CalcStats(
  dfrs,
  roms_grid,
  quantity,
  lci = 0.025,
  uci = 0.975,
  byStartTime = FALSE,
  verbose = FALSE
)

Arguments

dfrs

- list of dataframes with results by grid cell

roms_grid

- sf dataset representing a roms grid, with all grid cells of interest

quantity

- column name of quantity to calculate statistics for

lci

- lower confidence interval

uci

- upper confidence interval

byStartTime

- flag to average by startTime

verbose

- flag to print diagnostic info

Value

a list of sf datasets, by life stage, with mean by grid cell


wStockhausen/rDisMELS documentation built on March 27, 2022, 1 a.m.