AddHaulDensityToSuperIndividuals: Add haul density to SuperIndividualsData

AddHaulDensityToSuperIndividualsR Documentation

Add haul density to SuperIndividualsData

Description

This function calculates the swept-area density of each Haul given in the input SuperIndividualsData.

Usage

AddHaulDensityToSuperIndividuals(
  SuperIndividualsData,
  LengthDistributionData,
  SweepWidthMethod = c("Constant", "PreDefined"),
  SweepWidth = double()
)

Arguments

SuperIndividualsData

The SuperIndividualsData data.

LengthDistributionData

The LengthDistributionData data.

SweepWidthMethod

The method for calculating the sweep width. Possible options are (1) "Constant", which requires SweepWidth to be set as the constant sweep width, and (2) "PreDefined", impying that the sweep width is already incorporated in the WeightedNumber in the MeanLengthDistributionData using link{GearDependentLengthDistributionCompensation} or link{LengthDependentLengthDistributionCompensation}, or in the MeanSpeciesCategoryCatchData using link{GearDependentSpeciesCategoryCatchCompensation}.

SweepWidth

The constant sweep width in meters.

Details

The density is calculated either by multiplying by a constant sweep width, or by using LengthDistributionData which are sweep width compensated.

See Also

SuperIndividualsData and LengthDistribution for generating the input to this function.


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