AddPSUToPreySpeciesCategoryCatch: Add Survey, Stratum and PSU to PreySpeciesCategoryCatchData

View source: R/AddResolution.R

AddPSUToPreySpeciesCategoryCatchR Documentation

Add Survey, Stratum and PSU to PreySpeciesCategoryCatchData

Description

This function adds biotic PSU definitions (linked to Stratum) and Survey information to PreySpeciesCategoryCatchData.

Usage

AddPSUToPreySpeciesCategoryCatch(
  PreySpeciesCategoryCatchData,
  PSUDefinition = c("FunctionParameter", "FunctionInput"),
  PSUDefinitionMethod = c("StationToPSU", "None"),
  BioticPSU = NULL,
  SurveyDefinition = c("FunctionParameter", "FunctionInput"),
  SurveyDefinitionMethod = c("AllStrata", "Table"),
  SurveyTable = data.table::data.table(),
  Survey = NULL,
  StratumPolygon = NULL
)

Arguments

PreySpeciesCategoryCatchData

The PreySpeciesCategoryCatchData data.

PSUDefinition

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.

PSUDefinitionMethod

See DefineBioticPSU

BioticPSU

The BioticPSU process data.

SurveyDefinition

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.

SurveyDefinitionMethod

See DefineSurvey

SurveyTable

A table of the two columns Stratum and Survey.

Survey

The Survey process data.

StratumPolygon

The StratumPolygon process data.


StoXProject/RstoxBase documentation built on Nov. 6, 2024, noon