AddStratumStoxBiotic: Adds Stratum to StoxBioticData

View source: R/StoxBaselineFunctions.R

AddStratumStoxBioticR Documentation

Adds Stratum to StoxBioticData

Description

Adds a column 'Stratum' to StoxBioticData with the spatial strata each row belongs to.

Usage

AddStratumStoxBiotic(StoxBioticData, StratumPolygon, ColumnName = character())

Arguments

StoxBioticData

StoxBioticData data 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 Stratum.

Details

The strata are added to the new column 'Stratum'.

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.


StoXProject/RstoxFDA documentation built on Dec. 17, 2024, 10:58 a.m.