ReportSpeciesCategoryCatch: Report SpeciesCategoryCatch

View source: R/Report.R

ReportSpeciesCategoryCatchR Documentation

Report SpeciesCategoryCatch

Description

Reports the sum, mean or other functions on a variable of the SpeciesCategoryCatch.

Usage

ReportSpeciesCategoryCatch(
  SpeciesCategoryCatchData,
  ReportVariable = c("TotalCatchNumber", "TotalCatchWeight"),
  ReportVariableUnit = character()
)

Arguments

SpeciesCategoryCatchData

The SpeciesCategoryCatchData data.

ReportVariable

The column to report.

ReportVariableUnit

The unit to use for the ReportVariable. See RstoxData::StoxUnits for possible units (look for the appropriate quantity, e.g. "length" for IndividualTotalLength, and use the shortname in the ReportVariableUnit).

Details

This function is useful to, e.g, sum Biomass for each SpeciesCategory and IndividualTotalLenght, or average IndividualTotalLength for each IndiivdualAge and Stratum.

Value

A ReportSpeciesCategoryCatchData object.


StoXProject/RstoxBase documentation built on July 14, 2024, 9:39 a.m.