SuperIndividuals: Super-indivduals with abundance

SuperIndividualsR Documentation

Super-indivduals with abundance

Description

This function distributes Abundance to the individuals defined by Individuals.

Usage

SuperIndividuals(
  IndividualsData,
  QuantityData,
  DistributionMethod = c("Equal", "HaulDensity"),
  LengthDistributionData
)

Arguments

IndividualsData

The IndividualsData data.

QuantityData

The QuantityData data.

DistributionMethod

The method used for distributing the abundance, one of "Equal" for equal abundance to all individuals of each Stratum, Layer, SpeciesCategory and length group, and "HaulDensity" to weight by the haul density. For DistributionMethod = "HaulDensity" the LengthDistributionData must be given. It is recommended to use the same LengthDistributionData that was used to produce the QuantityData (via DensityData). If the length resolution is not the same in the QuantityData and LengthDistributionData, an error will be thrown.

LengthDistributionData

The LengthDistributionData data.

Details

The SuperIndividualsData contains the variables Abundance and Biomass. The Biomass is given in gram, as it is generated from IndividualRoundWeight which is in gram. This is different from the Biomass column of QuantityData, which is in kilogram, as it is originates from CatchFractionWeight in StoxBioticData, which is in kilogram.

See Also

Individuals, Quantity and LengthDistribution for generating the input to this function.


StoXProject/RstoxBase documentation built on Nov. 6, 2024, noon