This function defines the BioticLayer process data, which sets the range intervals of the swetp-area layers used in biotic estimation models in StoX.
DefineBioticLayer(
processData,
UseProcessData = FALSE,
StoxBioticData,
DefinitionMethod = c("WaterColumn", "HighestResolution", "Resolution", "Table"),
Resolution = double(),
LayerTable = data.table::data.table()
)The current data produced by a previous instance of the function.
Logical: If TRUE use the existing function output in the process.
StoxBioticData (defined in RstoxData).
Character: A string naming the method to use, one of "WaterColumn", to define one single for the entire water column; "HighestResolution", to use the maximum possible vertical resolution without intersecting hauls; "Resolution", which can be used to set a fixed layer thickness; and "Table" to provide the LayerTable.
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.
An object of StoX data type BioticLayer.
Acoustic Layers are generated using DefineAcousticLayer. For the horizontal resolution (Stratum/PSU) see DefineBioticPSU and DefineAcousticPSU.