calc_bottom_mean_oce: Calculate means for an oce object

View source: R/df_to_netcdf.R

calc_bottom_mean_oceR Documentation

Calculate means for an oce object

Description

Apply function to selected variables in an oce object and return a data frame.

Usage

calc_bottom_mean_oce(x, prefix = "mean_bottom_", fun = mean, vars = NULL)

Arguments

x

oce object

prefix

Character vector to append to variable names.

fun

Function to apply to variable vectors.

vars

Variables to apply function to. Automatically assigned when NULL (default)

Value

A data.frame with variables calculated and race_metadata if provided (x@metadata$race_metadata)

Author(s)

Sean Rohan


afsc-gap-products/gapctd documentation built on March 5, 2025, 3:42 a.m.