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

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.