Adds a column 'Stratum' to StoxBioticData with the spatial strata each row belongs to.
Usage
AddStratumStoxBiotic(StoxBioticData, StratumPolygon, ColumnName = character())Arguments
- StoxBioticData
StoxBioticDatadata which will be annotated. Needs postions appended. See details.- StratumPolygon
Definition of spatial strata. See
StratumPolygon- ColumnName
specifies which column the area should be added to. Defaults to
r RstoxFDA::stoxFunctionAttributes$AddStratumStoxBiotic$functionParameterDefaults$ColumnName.
Value
StoxBioticData with column appended to data.table 'Station'. See StoxBioticData.
See also
DefineStratumPolygon for configuring stratum definitions.
AddStratumStoxLanding for similar function for landing data,
PrepareRecaEstimate for use of 'Stratum' as an effect in Reca-estimation,
DefineCarNeighbours for obtaining a neighbour-definition for using 'Stratum' as CAR-effect in Reca-estimation.
and ReportFdaSampling for use of 'Stratum' as an aggregation variable when comparing sampling with landed volume.