R/LengthDistribution.R
MeanLengthDistribution.RdThis function averages link{LengthDistributionData} data horizontally.
MeanLengthDistribution(
LengthDistributionData,
SumLengthDistributionData,
LayerDefinition = c("FunctionParameter", "FunctionInput", "PreDefined"),
LayerDefinitionMethod = c("WaterColumn", "HighestResolution", "Resolution", "Table"),
Resolution = double(),
LayerTable = data.table::data.table(),
BioticLayer = NULL,
SurveyDefinition = c("FunctionParameter", "FunctionInput"),
SurveyDefinitionMethod = c("AllStrata", "Table"),
SurveyTable = data.table::data.table(),
Survey = NULL,
PSUDefinition = c("FunctionParameter", "FunctionInput"),
PSUDefinitionMethod = c("StationToPSU"),
StratumPolygon = NULL,
BioticPSU = NULL
)The LengthDistributionData data.
The SumLengthDistributionData data.
The method to use for defining the Layers, one of FunctionParameter to define the Layers on the fly in this function, FunctionInput to import Layer process data generated using the function DefineBioticLayer, or PreDefined whihc requires SumLengthDistributionData as input.
See the argument DefinitionMethod in DefineBioticLayer.
Numeric: A single numeric giving the thickness of the layers.
A table of Layer name, MinLayerDepth in meters and MaxLayerDepth in meters, defining the Layers.
The BioticLayer process data.
The method to use for defining the Survey, one of FunctionParameter to define the Survey on the fly in this function, or FunctionInput to import Survey process data from a previously run process by the input Survey.
See DefineSurvey
A table of the two columns Stratum and Survey.
The Survey process data.
The method to use for defining the PSUs, one of FunctionParameter to define the PSUs on the fly in this function, or FunctionInput to import PSU process data from a previously run process by BioticPSU.
Character: A string naming the automatic PSU definition method to use. Currently only the option "StationToPSU" is supported, which sets each Station as a PSU. See DefineBioticPSU for details.
The StratumPolygon process data.
The BioticPSU process data.
An MeanLengthDistributionData object.