Underlying function for DefineBioticPSU
and DefineAcousticPSU
.
DefinePSU(
processData,
UseProcessData = FALSE,
StratumPolygon,
StoxData = NULL,
MergedStoxDataStationLevel = NULL,
DefinitionMethod = c("Manual", "Identity", "DeleteAllPSUs", "PreDefined",
"ResourceFile"),
FileName = character(),
PSUType = c("Acoustic", "Biotic"),
SavePSUByTime = FALSE,
PSUProcessData
)
The current data produced by a previous instance of the function.
Logical: If TRUE use the existing function output in the process.
The StratumPolygon
process data.
Either StoxBioticData
or StoxAcousticData
data.
The merged StoxData at the station level. Used in meanRawResolutionData
.
A string naming the method to use, see DefineBioticPSU
and DefineAcousticPSU
.
The path to a resource file from which to read PSUs, in the case that DefinitionMethod
is "ResourceFile". Currently, only a project.xml file from StoX 2.7 can be read. Must include file extension.
Character: A string naming the type of model, either "Acoustic" or "Biotic"
Logical: If TRUE save the start and end times of sequences of EDSUs or Stations for each PSU.
Previously generated PSU process data, one of AcousticPSU
or BioticPSU
.
An list of two objects, Stratum_PSU and SSU_PSU.