This function distributes Abundance to the individuals defined by Individuals
.
SuperIndividuals(
IndividualsData,
QuantityData,
DistributionMethod = c("Equal", "HaulDensity"),
LengthDistributionData
)
The IndividualsData
data.
The QuantityData
data.
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.
The LengthDistributionData
data.
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.
Individuals
, Quantity
and LengthDistribution
for generating the input to this function.