View source: R/StoxBaselineFunctions.R
AddStratumStoxLanding | R Documentation |
Adds a column to StoxLandingData with the spatial strata each row belongs to.
AddStratumStoxLanding(
StoxLandingData,
StratumPolygon,
ColumnName = character()
)
StoxLandingData |
|
StratumPolygon |
Definition of spatial strata. See |
ColumnName |
specifies which column the area should be added to. See details. Defaults to Stratum. |
The strata are added to the new column specified by ColumName.
If 'ColumnName' is 'Area', The column 'Area' of StoxLandingData is overwritten. Other columns in StoxLandingData may not be specified.
StoxLandingData
does not contain columns for positions,
these need to be added as columns 'Latitude' and 'Longitude' before calling this function.
AddAreaPositionStoxLanding
may be used to append positions, based on area codes.
StoxLandingData with column appended. See StoxLandingData
.
DefineStratumPolygon
for configuring stratum definitions.
AddAreaPositionStoxLanding
for adding positions to landings,
AddStratumStoxBiotic
for similar function for sample 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.