agg_length_area: Enforces area and length grouping

agg_length_areaR Documentation

Enforces area and length grouping

Description

This function takes a vector of area's and length's and returns a grouping vector that enforces the grouping of lengths and areas less then defined thresholds

Usage

agg_length_area(l, a, lthres, athres)

Arguments

l

a vector of lengths

a

a vector of areas

lthres

a minimum length that must be achieved

athres

a minimum length that must be achieved

Value

a vector of length(a) containing grouping indexes


NOAA-OWP/hyAggregate documentation built on Aug. 13, 2022, 1:36 p.m.