Skip to contents

Compute annual indicators from an ocean cube

Usage

annual_index(x, threshold_pos = NULL, threshold_neg = NULL)

Arguments

x

An <ocean_cube> object.

threshold_pos

Optional positive threshold. If NULL, fraction above zero is returned.

threshold_neg

Optional negative threshold. If NULL, fraction below zero is returned.

Value

A data frame of annual indicators by variable and depth layer.

Lifecycle

Deprecated as of oceancube 0.3.0 because implicit zero thresholds are not a general scientific default. Use cube_aggregate_time() followed by explicit downstream summaries.