The functions addHaulsToAssignment and removeHaulsFromAssignment adds or removes biotic hauls from the BioticAssignment process data of the specified process.

addHaulToAssignment(Stratum, PSU, Haul, projectPath, modelName, processID)

removeHaulFromAssignment(Stratum, PSU, Haul, projectPath, modelName, processID)

Arguments

Stratum

The stratum name related to the PSU.

PSU

The acoustic primary sampling unit (PSU) for which to add/remove the haul.

Haul

The biotic haul to add/remove (can be a vector of hauls).

projectPath

The path to the StoX project, i.e., the folder of the project with the sub folders "input", "output" and "process". Can possibly be the path to a file inside the project folder.

modelName

The name of the model (possible values are "baseline", "analysis" and "report").

processID

The ID of the process.

Details

The assignment IDs are refreshed for every change, after sorting the assignemnts by the PSU column.