R/DefineAndUpdateVariables.R
RedefineStoxBiotic.Rd
This function redefines one or more columns of StoxBioticData
by columns of BioticData
.
RedefineStoxBiotic(
StoxBioticData,
BioticData,
Redefinition = data.table::data.table(),
SplitTableAllocation = c("Default", "Lowest", "Highest")
)
An input of ModelData object
An input of ModelData object
A table of the columns "VariableName", representing the variable to redefine; and "ReplaceBy", representing the variable from BioticData to replace by.
A string indicating how to split tables of the BioticData into tables of the StoxBiotic format, one of "Default" for the default mapping, "Lowest" for mapping variables to the lowest table (e.g. mapping variables from the fishstation level of BioticData
from NMDBiotic files to the Haul level of StoxBioticData
) and "Highest" for mapping variables to the highest table (e.g. mapping variables from the fishstation level of BioticData
from NMDBiotic files to the Station level of StoxBioticData
). See StoxBioticMapping
for a description of the mapping for the different biotic input file formats.
A StoxBioticData
object.