GearDependentCatchCompensation | R Documentation |
This function multiplies the WeightedNumber of a LengthDistributionData by the sweep width given by CompensationTable
. The result is a sweep width compensated length distribution (LengthDistributionType starting with "SweepWidthCompensated").
GearDependentCatchCompensation(
InputDataType = c("LengthDistributionData", "SpeciesCategoryCatchData"),
LengthDistributionData,
SpeciesCategoryCatchData,
CompensationMethod = c("Gear", "Cruise", "GearAndCruise"),
CompensationTable = data.table::data.table(),
keep.all = FALSE
)
InputDataType |
The datatype of the input, one of LengthDistributionData, SpeciesCategoryCatchData. |
LengthDistributionData |
The |
SpeciesCategoryCatchData |
The |
CompensationMethod |
The method to use for the length dependent catch compensation, i.e. specifying which columns to provide the sweep width for. |
CompensationTable |
A table of the sweep width per combination of the variables specified in |
keep.all |
Logical: If TRUE keep all columns, and if FALSE delete undefined columns. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.