dropAggregatedDataLevels: Drop levels of sex, maturity state, and shell condition that...

View source: R/dropAggregatedDataLevels.R

dropAggregatedDataLevelsR Documentation

Drop levels of sex, maturity state, and shell condition that have been aggregated in a model data dataframe

Description

Function to drop the levels of sex, maturity state, and shell condition that have been aggregated in a canonical model data dataframe returned by, e.g., extractMDFR.Data.FleetTimeSeriesABs().

Usage

dropAggregatedDataLevels(tbl)

Arguments

tbl
  • the dataframe to drop aggregated levels from

Details

The model data dataframe should be in canconical format as returned by, e.g., extractMDFR.Data.FleetTimeSeriesABs(). The original levels in the input data to the associated TCSAM02 model are returned.

Value

an object of same class as tbl with aggregated levels dropped, leaving only the original unaggregated levels


wStockhausen/rCompTCMs documentation built on Aug. 27, 2024, 7:15 p.m.