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


mikejohnson51/hyAggregate documentation built on July 1, 2022, 2:42 p.m.