agg_abund: Aggregate abundances based on a factor variable

Description Usage Arguments

View source: R/agg_funcs.R

Description

Aggregate abundances based on a factor variable

Usage

1
agg_abund(x, agg.var)

Arguments

x

A data set containing columns 'agg.var', 'N_predict' and 'N_real'. The last two are obtained from a calls to agTrendTMB::sample_N and agTrendTMB::get_real.

agg.var

Variable used for aggregation


dsjohnson/agTrendTMB documentation built on Jan. 1, 2021, 12:07 a.m.